[Tutor] Connection Error

Christopher King g.nius.ck at gmail.com
Wed Jun 15 23:41:15 CEST 2011


I was playing around with socket. It raised a connection error when I tried
to connect a non-local client to a linux server. It timed out when I tried
to connect a Linux client to a Windows server.
I did succeed when I:
connected a Linux client to a local server
connected a Windows client to a local server and
connected a Android client to a Windows server

The client program I was using was Alert_Sender and Alert_Sender_mobile. The
server program I was using was Alert_Server. Alert_Recv is also a client,
but I plan to always be on the same machine as the Alert_Server. Server and
Client are modules I designed to greatly simplify the socket module (feel
free to download for you own use.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20110615/159fa2c6/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Alert_Server.py
Type: application/octet-stream
Size: 1628 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/tutor/attachments/20110615/159fa2c6/attachment-0006.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Alert_Recv.py
Type: application/octet-stream
Size: 1769 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/tutor/attachments/20110615/159fa2c6/attachment-0007.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Alert_Sender.py
Type: application/octet-stream
Size: 881 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/tutor/attachments/20110615/159fa2c6/attachment-0008.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Alert_Sender_Mobile.py
Type: application/octet-stream
Size: 505 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/tutor/attachments/20110615/159fa2c6/attachment-0009.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: server.pyc
Type: application/octet-stream
Size: 8467 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/tutor/attachments/20110615/159fa2c6/attachment-0010.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: client.py
Type: application/octet-stream
Size: 3591 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/tutor/attachments/20110615/159fa2c6/attachment-0011.obj>


More information about the Tutor mailing list