By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,100 Members | 2,892 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,100 IT Pros & Developers. It's quick & easy.

Socket Programming in Python

P: n/a
For the uninitiated: "Socket Programming in Python" at
evolt.org: http://evolt.org/article/Socket_Prog...276/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

Jul 18 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Premshree Pillai wrote:
For the uninitiated: "Socket Programming in Python" at
evolt.org: http://evolt.org/article/Socket_Prog...276/index.html


Hmm. I'd stick to http://www.amk.ca/python/howto/sockets/

But, ofcourse, only if you really need to use raw socket communication ;-)

--Irmen
Jul 18 '05 #2

P: n/a
Premshree Pillai wrote:
For the uninitiated: "Socket Programming in Python" at
evolt.org: http://evolt.org/article/Socket_Prog...276/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.

Jul 18 '05 #3

P: n/a
> 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
Jul 18 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.