Specify Client IP Address

Startseite Foren C# Network Library FAQ Specify Client IP Address

Dieses Thema enthält 1 Antwort und 2 Teilnehmer. Es wurde zuletzt aktualisiert von  Thomas Christof vor 2 Jahre, 4 Monate.

  • Autor
    Beiträge
  • #1268 Antwort

    Mike Walsh

    When creating a new ConnectionContainer, is it possible to specify which client IP address to use?

    I am trying to run two instances of the client on the same workstation. I have assigned 2 IP address to the workstation, but need to tell the ConnectionContainer which one to use.

  • #1269 Antwort

    Thomas Christof
    Keymaster

    Hello Mike!

    Are you talking about the Client or ServerConnectionContainer? If you use the ClientConnectionContainer nothing has to be done. Your network card(s) will automatically manage the receiving packets and forwards them to the network library.

    On the other hand, the ServerConnectionContainer listens to the local loopback address. (127.0.0.1) Which is in both cases matching for both network cards. There shouldn’t be any issue.

    Thanks for your post. For the next release I will offer a function, so that you are able to chose an address to bind it to.

    Best Regards,
    Thomas

Antwort auf: Specify Client IP Address
Deine Information: