Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!newsfeed101.telia.com!starscream.dk.telia.net!news.tele.dk!news.tele.dk!small.news.tele.dk!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.026 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'subject:help': 0.07; 'url:faqs': 0.09; '"127.0.0.1"': 0.16; 'exception?': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:program': 0.16; 'url:catb': 0.16; 'url:~esr': 0.16; 'wed,': 0.16; 'wrote:': 0.17; 'received:209.85.214.174': 0.21; 'either.': 0.22; 'header:In-Reply-To:1': 0.25; 'bugs': 0.27; 'subject:please': 0.27; 'message-id:@mail.gmail.com': 0.27; 'getting': 0.33; 'doubt': 0.33; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'nov': 0.35; 'doing': 0.35; 'pm,': 0.35; 'received:209.85': 0.35; 'there': 0.35; 'but': 0.36; 'url:org': 0.36; 'ok,': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'mean': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'received:209.85.214': 0.39; 'little': 0.39; 'header:Received:5': 0.40; 'clearer': 0.84; 'dang': 0.84; 'subject:chat': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=CxuAO70vn9p6moO4CxQU6iUU2MJEn8sMhMZlCQNJDkE=; b=vAiHb7Qd6e3ZCF9P9TLoZuiusdHFmXoaqbQLzGOjYyOmqEhv5v3dZHxR2N1yEIDi2y v/5BHU/b9VADf8/kz/oGcCPmAXctXBL0F+nqgBm0Z52Uepri8npvXTuL2Ha4BtlhYSO6 H8YrnkzOO8hoN16/Cdijg4/7y1nulNeokzR2FHX6Yx8kI2ajpIYfLHyD9xZClXcrwrwD CzxZmo/s3NgfpBa7PGMAJIael4pUhtlGt0omXckPTkMYG9vfA7WZbTxe4/X6uIRroyt6 EjVBBj9UBOb7+J8yxQmu2hEmM8AqLQrOXgxuT7mHZ0Ncm+narFXgMBTdyOblscCFRwl7 Ilcg== MIME-Version: 1.0 In-Reply-To: <0776c5d4-05c6-4bea-af12-360fcc67728e@googlegroups.com> References: <8edb652f-c48f-4758-a315-3ecc8070267d@googlegroups.com> <0776c5d4-05c6-4bea-af12-360fcc67728e@googlegroups.com> Date: Wed, 28 Nov 2012 22:17:54 +1100 Subject: Re: please help me to debud my local chat network program From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 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: , Newsgroups: comp.lang.python Message-ID: Lines: 10 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1354101477 news.xs4all.nl 6914 [2001:888:2000:d::a6]:36420 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:34013 On Wed, Nov 28, 2012 at 10:10 PM, Minh Dang wrote: > ok, in client.py, i change broadcastIP = "broadcast" to broadcastIP = "127.0.0.1" but there are some bugs I doubt that that will work either. And you may need to be a little clearer on what you mean by "there are some bugs" - is it doing what you don't expect? Are you getting an exception? Tips: http://catb.org/~esr/faqs/smart-questions.html ChrisA