Connecting Tech Pros Worldwide Forums | Help | Site Map

How to open multiple socket?

Member
 
Join Date: Oct 2007
Posts: 35
#1: Oct 21 '08
Hi all,

I would like to open multiple sockets automatically. Anyone knows how to do it?
Thanks.
numberwhun's Avatar
Site Moderator
 
Join Date: May 2007
Location: New Hampshire
Posts: 2,569
#2: Oct 21 '08

re: How to open multiple socket?


Have you read up on this module to see what it says about this? You may want to start there.

Regards,

Jeff
Icecrack's Avatar
Expert
 
Join Date: Sep 2008
Location: Sydney, Australia
Posts: 173
#3: Oct 21 '08

re: How to open multiple socket?


Quote:

Originally Posted by numberwhun

Have you read up on this module to see what it says about this? You may want to start there.

Regards,

Jeff


Jeff he has a previous post about the same question in regards to his code.

http://bytes.com/forum/showthread.ph...33#post3396633
Member
 
Join Date: Oct 2007
Posts: 35
#4: Oct 22 '08

re: How to open multiple socket?


Hmm...that links to my previous post. I got an assignment which requires me to open as much sockets as I can.
What I am doing is to put the open socket in a loop without sending request to it and without closing it. But I am not sure if I understand the requirement correctly or the way I am doing is the right way.
Any hints?
Thanks.
Quote:

Originally Posted by Icecrack

Jeff he has a previous post about the same question in regards to his code.

http://bytes.com/forum/showthread.ph...33#post3396633

numberwhun's Avatar
Site Moderator
 
Join Date: May 2007
Location: New Hampshire
Posts: 2,569
#5: Oct 23 '08

re: How to open multiple socket?


Quote:

Originally Posted by casybay

Hmm...that links to my previous post. I got an assignment which requires me to open as much sockets as I can.
What I am doing is to put the open socket in a loop without sending request to it and without closing it. But I am not sure if I understand the requirement correctly or the way I am doing is the right way.
Any hints?
Thanks.

That link is to your previous post because it was on the same (similar) topic. Since this is an assignment, given to you so you can learn, we cannot give you the answer. Your teacher, who gave you the assignment, can provide you guidance, but we cannot give you the answer.

Besides that, I haven't done any work with sockets so I would consult your teacher.

Regards,

Jeff
Reply