janhartmann
janhartmann

Reputation: 15003

Connect using specific IP (multiple IPs on NIC)

I have multiple IPs on a NIC. I've programmed a console application to connect to a socket - this connection is made by a specific IP.

Is it possible to tell which IP this connection should use, because I have multiple IP's assigned to my server?

Hope I made this clear.

Thank you!

Upvotes: 1

Views: 925

Answers (1)

spender
spender

Reputation: 120400

Socket.Bind is your friend.

Upvotes: 1

Related Questions