Re: [twsocket] Delphi2007,UDP, 2x packets

2007-09-08 Thread brian
Yes they are 0 bytes I thought the fragmented packets didn't happen with UDP though? that boundaries were respected? When I used TCP I made packet delimiters so I could identify when I had a full packet in various pieces, but isn't that different with UDP? Why is the event triggered with empty

Re: [twsocket] Delphi2007,UDP, 2x packets

2007-09-08 Thread Angus Robertson - Magenta Systems Ltd
> I know I am to expect this behaviour, incorrect order, missing > packets, receiving the same packet twice, but blank packets with no > data? If you mean the packet is zero length, it's not actually a packet atall is it. Remember SocketDataAvailable is triggered when any data is available, a

[twsocket] Delphi2007,UDP, 2x packets

2007-09-08 Thread brian
Hello, I am using Delphi and ICS again after a few years of not doing much network stuff, and I've begun working on a project involving UDP, so my first steps are doing some testing. I setup a udp socket and send 100 packs with a message and an identified number, and the receiver counts the pa