Hello,
Thank you for your reply.
Please read underlines.
Le 05/06/2012 23:12, Alan Gauld a écrit :
On 05/06/12 12:53, BILAL Mustapha wrote:
Hello,
Hi, Its best not to hijack somebody else's thread coz it messes up all
the threaded mail/news readers out there. (At least you changed the
Hello,
I am trying to lunch a small python program but I am always getting
this error:
s.connect((IP, PORT))
File /usr/lib/python2.7/socket.py, line 224, in meth
return getattr(self._sock,name)(*args)
socket.error: [Errno 111] Connection refused
What's weird that it doesn't even print
On 05/06/12 12:53, BILAL Mustapha wrote:
Hello,
Hi, Its best not to hijack somebody else's thread coz it messes up all
the threaded mail/news readers out there. (At least you changed the
subject though!). Please start with a fresh mail for a new topic.
I am trying to lunch a small python
BILAL Mustapha wrote:
Here is the code:
Unfortunately not. What you have posted contains at least two SyntaxErrors
that prevents it from running:
def send_data():
*print(test sending data)*
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
*s.connect((IP, PORT))*
Two of those