Socket question: arbitrary port

Donn Cave donn at oz.net
Fri Jul 28 00:32:10 EDT 2000


Quoth mmorris at mindspring.com (Mitchell Morris):
...
| Contrary to your reasoning, you only need bind *OR* connect. If you're 
| going to listen, you bind. If you're not going to listen, you connect.
...

If you look through his post again, I expect you will see the same "or"
wording.  The original poster was unclear about what was intended, and
I suspect that's the only reason connect() was brought into it at all.

	Donn Cave, donn at oz.net



More information about the Python-list mailing list