Quote Originally Posted by Chirieac
Thanks again henky!

One final question: Do I need to listen on multiple ports?

It will work like this: server listening on one port; client is connecting with 2 sockets to the server; the server on accept creates 2 threads with 2 sockets, one for each connection?

Thanks again, Bye!
You're welcome.

No. You don't need to listen on multiple ports.

Regards,
Henky