Wednesday, 15 January 2014

.net - C# configuring TCPClient client's port -


I communicate with TCPClient () in C # The device on the LAN has to be assigned to me only the target IP and port number.

Now I'm coding this much like this. However, it specifies that the client port from my PC should have more than 1024 . How do I configure it? Does this mean that the VS automatically takes care of that not specified?

The port can be used to specify the port (just for address part IPAddress Use any. ). As on the document and, by default, more than 1024 ports will be used.

No comments:

Post a Comment