recv() vs recvfrom()
i have a udp client that uses an ephemeral port. it seems like my
server, therefore, must use recvfrom() to get packets, since i
can't connect() the socket. is that right?
-frank
.
Relevant Pages
- Re: this very simple UDP client/server.. doesnt work?
... > You are using recvfrom and not even specified the IP address from ... If he only wants to receive packets, then it's ok the specify NULL-pointers. ... However, if his server would ever like to answer the params are required, ... (comp.unix.programmer) - Re: Newby: is an UDP socket full-duplex?
... Ok, now it's clearer. ... If the server uses the same address as returned by a call to recvfrom, ... packets sent will be automatically re-directed to the correct machine by the ... client's NAT (as long as the client write to the server for the first time). ... (microsoft.public.win32.programmer.networks) - Re: Diagnose co-location networking problem
... it was from the client. ... Actually there's significant indication of lost packets and clues that ... 540 retransmit timeouts ... are you using any packetfiltering on the server? ... (freebsd-net) - Re: Improving FreeBSD NFS performance (esp. directory updates)
... >> I don't think the network is at fault, nor is the server really going ... 155645171 data packets ... discarded for bad header offset fields ... 790 connections established ... (freebsd-questions) - Re: IP Spoofing
... That would be enough if the purpose of the request was e.g. to delete a database by SQL injection. ... You would not need to keep it in 7 packets, merely to send in a TCP window - pretty large these days, BUT you would also need to cut in on an existing ESTABLISHED session. ... it is quite possible to send packets to the server without anything. ... (comp.lang.php) |
|