I'm learning POSIX socket programming.
And now i have client socket and can connet to server and send data.
But my machine have different interfaces with different "white" IP adresses.
How can I use different interface for my client socket to connect to server.
At the end I want server to see that i'm connection from defferent IP adresses.
Please Help =)
Thx
Asked
Active
Viewed 37 times
1

Artem Rusinov
- 176
- 2
- 9
-
2Your reputation is enough to know that your question does not follow the guidelines. – Michael Chourdakis May 01 '20 at 20:46
-
3`bind` the socket to a specific interface before invoking `connect`. – rustyx May 01 '20 at 20:48