|
-
May 24th, 2008, 06:50 AM
#11
Re: Single socket, more than one socket, multithreading?
 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
henky
----------------------------------
[email protected] is not my email address anymore...
Jangan Pernah Menyerah
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|