|
-
July 16th, 2011, 03:25 PM
#2
Re: using the internet
Er, why don't you want that? The usual model is as follows (note to others: this is not my area of expertise, please correct me if this is inaccurate):
You bind a port as a listening port. When connections come in, you accept them which creates a new socket on a random port to handle communication with the computer that just connected. You then (if more connections are desired) set the original listener socket back into listen mode to accept another connection.
It shouldn't matter which port number you are using to handle communications once a connection has been established.
Best Regards,
BioPhysEngr
http://blog.biophysengr.net
--
All advice is offered in good faith only. You are ultimately responsible for effects of your programs and the integrity of the machines they run on.
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
|