Specify Client IP Address

Startseite Foren C# Network Library FAQ Specify Client IP Address

Ansicht von 1 Antwort-Thema
  • Autor
    Beiträge
    • #1268
      Mike Walsh
      Gast

      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
      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

Ansicht von 1 Antwort-Thema
  • Du musst angemeldet sein, um auf dieses Thema antworten zu können.