"Zubin Mithra" <zubin.mit...@gmail.com> wrote in message news:8e7c74320912300315r625f4c89kb8002e4b8c384...@mail.gmail.com...
The code snippet i have pasted at,

http://paste.pocoo.org/show/160555/

produces a traceback which also has been pasted at the above link. The
snippet attempts at socket programming using OOPs concepts. Please help.

Thankx in advance
Zubin Mithra

If you're trying to be a server, you need to listen() before accept(), and I wouldn't call the method "connect()".

If you're trying to be a client, you can skip the bind() and call connect() instead of accept().

-Mark


--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to