Path: csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.030 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; '[],': 0.07; 'subject:help': 0.07; '[])': 0.09; 'to:addr:comp.lang.python': 0.09; 'cc:addr:python-list': 0.10; 'subject:program': 0.16; 'cc:2**0': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; 'bugs': 0.27; 'subject:please': 0.27; 'received:google.com': 0.34; 'received:209.85': 0.35; 'there': 0.35; 'but': 0.36; 'ok,': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'received:209.85.214': 0.39; 'skip:" 10': 0.40; 'received:209.85.214.184': 0.84; 'received:mail- ob0-f184.google.com': 0.84; 'subject:chat': 0.93 Newsgroups: comp.lang.python Date: Wed, 28 Nov 2012 03:17:58 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=27.78.156.221; posting-account=8P-cvAoAAADdIXXL0a5URJu991yAj05V References: <8edb652f-c48f-4758-a315-3ecc8070267d@googlegroups.com> User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-IP: 27.78.156.221 MIME-Version: 1.0 Subject: Re: please help me to debud my local chat network program From: Minh Dang To: comp.lang.python@googlegroups.com Content-Type: text/plain; charset=ISO-8859-1 Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Message-ID: Lines: 3 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1354101483 news.xs4all.nl 6951 [2001:888:2000:d::a6]:36489 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:34012 ok, in client.py, i change broadcastIP = "broadcast" to broadcastIP = "127.0.0.1",it's ok, but there are some bugs sys.exit(main()) rQueue, wQueue, xQueue = select.select(inputs, [], [])