Hi Angus, I have modified my source code to be Unicode compliant and like I said before, the initial request packet is sent correctly.
It's just the response packet that is never detected. Cheers -Mohamed -----Original Message----- From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On Behalf Of Angus Robertson - Magenta Systems Ltd Sent: Wednesday, February 17, 2010 10:23 AM To: twsocket@elists.org Subject: Re: [twsocket] OnDataAvailable event not firing for UDP client > I have a udp client for the TFTP protocol that has worked perfectly > since I first wrote it in 1999. > > Recently we upgraded to Delphi 2010 so I also upgraded to the V7 > source code. > > Unfortunately, things no longer work. Source written 10 years ago will not be aware of Unicode and will assume ANSI strings and pointers. So you must first go through your own source code almost line by line replaced all PChar with PAnsiChar, String with AnsiString, etc, per the various Unicode migration documents. Once you have it working again, can you donate it to the ICS project? We don't currently have a TFTP client (using udp). Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be