[Tutor] Socket Programming

Chris Fuller cfuller084 at thinkingplanet.net
Fri Apr 5 18:29:46 CEST 2013


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.



More information about the Tutor mailing list