Open socket from a specific IP

  • Thread starter Thread starter wplatnick
  • Start date Start date
W

wplatnick

We are writing a monitoring application that needs to open a socket to
a telnet port over a specific ip address, rather than the default for
the system. We have all the IPs bound to the machine. How can I
accomplish this, short of setting the default IP for the system, which
is not something we want to mess with.
 
When you create socket, you can bind it to specific endpoint, this enpoint
will be used when performing connections to remote host.
 
Back
Top