Marko Ceric

Marko Ceric

  • NA
  • 19
  • 0

Set the client port in the TcpClent class

Nov 3 2008 7:01 AM
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)