Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #34001

Re: please help me to debud my local chat network program

References <8edb652f-c48f-4758-a315-3ecc8070267d@googlegroups.com> <6dfb8bda-3a54-47ce-b511-fd6945b4d4cf@googlegroups.com>
Date 2012-11-28 17:33 +1100
Subject Re: please help me to debud my local chat network program
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.329.1354084425.29569.python-list@python.org> (permalink)

Show all headers | View raw


On Wed, Nov 28, 2012 at 4:47 PM, Minh Dang <dangbaminh.it@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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

please help me to debud my local chat network program Minh Dang <dangbaminh.it@gmail.com> - 2012-11-27 18:50 -0800
  Re: please help me to debud my local chat network program Terry Reedy <tjreedy@udel.edu> - 2012-11-27 22:48 -0500
  Re: please help me to debud my local chat network program Chris Angelico <rosuav@gmail.com> - 2012-11-28 15:03 +1100
    Re: please help me to debud my local chat network program Jorgen Grahn <grahn+nntp@snipabacken.se> - 2012-11-28 21:12 +0000
      Re: please help me to debud my local chat network program Minh Dang <dangbaminh.it@gmail.com> - 2012-11-28 18:48 -0800
  Re: please help me to debud my local chat network program Minh Dang <dangbaminh.it@gmail.com> - 2012-11-27 21:47 -0800
    Re: please help me to debud my local chat network program Chris Angelico <rosuav@gmail.com> - 2012-11-28 17:33 +1100
  Re: please help me to debud my local chat network program Minh Dang <dangbaminh.it@gmail.com> - 2012-11-28 02:52 -0800
    Re: please help me to debud my local chat network program Chris Angelico <rosuav@gmail.com> - 2012-11-28 22:16 +1100
      Re: please help me to debud my local chat network program Minh Dang <dangbaminh.it@gmail.com> - 2012-11-28 03:17 -0800
      Re: please help me to debud my local chat network program Minh Dang <dangbaminh.it@gmail.com> - 2012-11-28 03:17 -0800
  Re: please help me to debud my local chat network program Minh Dang <dangbaminh.it@gmail.com> - 2012-11-28 03:10 -0800
    Re: please help me to debud my local chat network program Chris Angelico <rosuav@gmail.com> - 2012-11-28 22:17 +1100
  Re: please help me to debud my local chat network program Minh Dang <dangbaminh.it@gmail.com> - 2012-11-28 03:23 -0800
  Re: please help me to debud my local chat network program Minh Dang <dangbaminh.it@gmail.com> - 2012-11-28 03:57 -0800
    Re: please help me to debud my local chat network program Chris Angelico <rosuav@gmail.com> - 2012-11-28 23:24 +1100
      Re: please help me to debud my local chat network program Minh Dang <dangbaminh.it@gmail.com> - 2012-11-28 06:10 -0800
        Re: please help me to debud my local chat network program Chris Angelico <rosuav@gmail.com> - 2012-11-29 01:21 +1100
          Re: please help me to debud my local chat network program Minh Dang <dangbaminh.it@gmail.com> - 2012-11-28 07:27 -0800
          Re: please help me to debud my local chat network program Minh Dang <dangbaminh.it@gmail.com> - 2012-11-28 07:27 -0800
      Re: please help me to debud my local chat network program Minh Dang <dangbaminh.it@gmail.com> - 2012-11-28 06:10 -0800
  Re: please help me to debud my local chat network program Minh Dang <dangbaminh.it@gmail.com> - 2012-11-29 01:03 -0800
    Re: please help me to debud my local chat network program Chris Angelico <rosuav@gmail.com> - 2012-11-29 20:13 +1100
    RE: please help me to debud my local chat network program "Prasad, Ramit" <ramit.prasad@jpmorgan.com> - 2012-11-30 20:11 +0000

csiph-web