[Tutor] Socket Programming

Mousumi Basu mousumi251 at gmail.com
Fri Apr 5 12:47:54 CEST 2013


I want to perform bind function for  socket programming between two
computers of ip addresses- 172.18.2.11 and 172.18.2.95 using the following
command(on the computer having IP address 172.18.2.95):

s=socket.socket(socket.AF_INIT,socket.SCK_DGRM))
s.bind(('172.18.2.11',8032))

But error is occurring showing "bind not done"

The ping operation of command prompt is showing that the computers are
connected.

Please help me.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20130405/16dfa986/attachment.html>


More information about the Tutor mailing list