|
|
Datagram sendto and recvfrom question
From what I know, using send and recv, they are sometimes that
not all parts of data are sent and receive at once. I wonder if
this is also the case for datagram sendto and recvfrom?
Thanks
|
|
0
|
|
|
|
Reply
|
thone
|
9/24/2005 11:53:29 PM |
|
In article <6eGdnTdtmM1ke6jeRVn-pA@comcast.com>,
thone@Tramp.eng.sun.com () wrote:
> From what I know, using send and recv, they are sometimes that
> not all parts of data are sent and receive at once. I wonder if
> this is also the case for datagram sendto and recvfrom?
Datagrams always send and receive the whole datagram. The only
exception is if the receive buffer is too small for the datagram. On
some systems the excess is discarded, on others it will be retained for
the next recv or recvfrom to read.
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
|
|
0
|
|
|
|
Reply
|
Barry
|
9/25/2005 2:00:08 AM
|
|
|
1 Replies
344 Views
(page loaded in 0.048 seconds)
Similiar Articles: Local MAC address connected to incoming 'recvfrom' UDP message ...Local MAC address connected to incoming 'recvfrom' UDP message ... Datagram sendto and recvfrom question - comp.unix.programmer ... Local ... recvfrom returns with an ... recvfrom returns with an error code of 14, EFAULT "Bad Address ...Before I pass the point to recvfrom I am initializing it to NULL. This exact same ... barry.margolin@level3.com Level(3), Woburn, MA *** DON'T SEND TECHNICAL QUESTIONS ... communication between 2 computers using a socket - comp.lang.idl ...... Post Question | Groups | Stream ... Hi guys, Is it possible to communicate 2 PCs via a socket ? I have an ... Reconnecting to the same socket - comp.unix.programmerDatagram sendto and recvfrom question - comp.unix.programmer ... I am trying to send some data with a udp socket and receive them back on the same socket through windows ... unicast and broadcast on same socket - comp.unix.programmer ...How can I receive both unicast and broadcast datagram ... Post Question | Groups ... the broadcast option on the socket, and used sendto and recvfrom ... can not received broadcast message in linux 7.1 - comp.unix ...... Open a UDP socket (an Internet datagram socket ... Local MAC address connected to incoming 'recvfrom' UDP ... Sending an EOF to a named pipe - comp.os.linux.questions ... How to send an IP packet in Python? - comp.lang.python... res+=3Dchr(int(i, 16)) print res s.sendto(res, (dst ... Beginner question: binary data and socket.send - comp ... Sending big UDP packet - comp.lang.tcl User Datagram ... Variable Length Packets - comp.unix.programmer... alum.mit.edu Arlington, MA *** PLEASE post questions in ... call to read() will never return more than one datagram ... recvfrom returns with an error code of 14, EFAULT "Bad ... Incorrect IP header data in RAW Sockets - comp.unix.solaris ...... from.sin_port=htonl(5000); len = sendto( fd ... out with the right source IP ... ntpd does anser questions ... A datagram socket ancillary data type (cmsg ... all ... High sys Usage - comp.unix.solaris... Post Question ... 044 2392 1177 recvfrom .000 9 send .166 4341 6 sendto ... C++ problem with Datagram (UDP)winsocket to sendto and recvfrom on ...I am trying to send some data with a udp socket and receive them back on the same socket through windows loopback adatper. In my network properties I set the loopback ... Socket Datagram info sendto(), recvfrom() - C BoardHi, i'm new , and i like so much this forum! i've a question about socket datagram, can i send a struct directli with the function sendto (..) ? or I 7/25/2012 12:58:46 AM
|
|
|
|
|
|
|
|
|