Have you checked out the socket HOWTO?
http://docs.python.org/2/howto/sockets.html
Cheers
On Friday, April 05, 2013, Mousumi Basu wrote:
> 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.
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor