please help me to debud my local chat network program
Chris Angelico
rosuav at gmail.com
Wed Nov 28 01:33:42 EST 2012
On Wed, Nov 28, 2012 at 4:47 PM, Minh Dang <dangbaminh.it at gmail.com> wrote:
> ok, here is my code, zip
> http://www.mediafire.com/?ob4kokda81fj6xc
Thanks! That's a distinct improvement :)
That code doesn't exactly match the traceback, though; there's
client.py not pclient.py and the line numbers don't match. So I have
to just guess that the error is the same. However, I can see an
immediate problem.
def broadcast():
broadcastIP = "<broadcast>"
broadcastPort = 9999
That's not a valid broadcast IP :)
I think you probably want to bind to "" (aka "any address").
ChrisA
More information about the Python-list
mailing list