Hi Claire,
First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you need to implement a UDP client
using System.Net.Socket class. If there is any misunderstanding, please
feel free to let me know.
In you post, you mentioned you were using the UDP server and client
components. Could you let me know, which component you're using?
In .NET framework, we've provide a class named System.Net.Sockets.UdpClient
to provide simple methods for sending and receiving connectionless UDP
datagrams in blocking synchronous mode. So I don't think you need to
implement it yourself. You can check the following link for more
information to see if it meets your needs.
http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfsystemnetsocketsudpclientclasstopic.asp
HTH.
Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."