Home Forums Support Server listening on 2 ports

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2253
    Anonymous
    Inactive

    Hi,
    thank you for the library. I have just started trying it.

    I have a question. Is it possible to listen on 2 separate ports (same adapter).
    I want server listening on the port X for clients and on the port X+1 for my management console.

    Any suggestions?

    Thanks 😉

    #2255
    Anonymous
    Inactive

    Yes, very easily. Just called the desired StartListening() twice with different parameters, once for each desired port.

    Kind regards,
    Marc

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.