C# UdpClient server and client issue?

Check out JoinMulticastGroup (it's like Connect for TcpClient). You need to do this prior to broadcasting (that is, if you are broadcasting).

UDP is connectionless. When you call connect on a UDP socket, you are really just setting the default destination IP and port. The receiver on the other end has to use Socket.

ReceiveFrom (called recvfrom in UNIX) to find out where the packet came from and then SendTo to reply to the original request. The server could use connect but that would be awkward if you wanted to support multiple clients.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions