3
Answers

Set the client port in the TcpClent class

Marko Ceric

Marko Ceric

16y
2.6k
1
Hello.

I'm using TcpClient class to connect to a TCP server.

Is there any way to set the client port to open when connecting to the server by TcpClient class (not the port of the server).

I'm googling it for 2 days and nothing...

I'm doing some simulation for some hardware which uses an predefined port, but my TcpClient uses the first available port. Not good. :S

Thank's
Answers (3)
Next Recommended Forum