Socket Programming in Python

  • Thread starter =?iso-8859-1?q?Premshree=20Pillai?=
  • Start date
O

omission9

Premshree said:
For the uninitiated: "Socket Programming in Python" at
evolt.org: http://evolt.org/article/Socket_Programming_in_Python/17/60276/index.html

=====
-Premshree
[http://www.qiksearch.com/]

________________________________________________________________________
Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more.
Go to: http://in.insurance.yahoo.com/licspecial/index.html
What a retarded tutorial. If that article is any indication of Mumbai
University it seems that institution is to be about on par with an
american vocational high school.
 
J

Josiah Carlson

from socket import *

is not required. In fact, that leads to namespace pollution that may
cause problems for users later.

Most socket applications that I've seen tend to use 'import socket',
then refer to all the various constants by socket.AF_INET and such.

Another thing worth mentioning is that while UDP datagrams are useful
when you don't care about your data, TCP streams tend to do what people
expect (no information gets re-arranged, etc.).

- Josiah
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top