Hello,
This UDP stuff is driving me nuts.
Maximum outbound (send) size of a message returned by getsockopt
as described below is 65507 bytes on my w2k box. Up to this size
datagrams go over the wire. However if I SendTo a bigger datagram
up to 65527 bytes then SendTo happily returns success even t
Hello,
I would like to send datagrams thru SendTo() instead of
Send() in order to bypass copying data to TWSocket's send
buffer. When I call SendTo() I have to handle
possible errors by myself, but I do not understand
exactely whether it's possible that the function returns
a positive result small
Hello Jack,
Do you send to a broadcast address or to a specific address ?
Do you have 1 or 2 IP addresses in the sending machine ?
---
Rgds, Wilfried [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
http://www.mestdagh.biz
Wednesday, May 3, 2006, 00:52, Jack wrote:
> I have the code t
, May 03, 2006 12:52 AM
Subject: [twsocket] UDP SendTo() sends two packets?
>I have the code to listen on a UDP port when the first button
> is clicked, and send a packet when the second button is clicked.
> It works fine except when the second button is clicked, it sends
> two packet
I have the code to listen on a UDP port when the first button
is clicked, and send a packet when the second button is clicked.
It works fine except when the second button is clicked, it sends
two packets (I captured that with Ethereal.) Is there anything
I'm not doing right?
--
Best regards,
Jack