Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #15891
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.017 |
| X-Spam-Evidence | '*H*': 0.97; '*S*': 0.00; 'socket': 0.04; 'subject:when': 0.07; 'subject:report': 0.09; 'subject:error': 0.10; '[errno': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'received:209.85.213.174': 0.16; 'received:mail- yx0-f174.google.com': 0.16; 'socket.': 0.16; 'wrote:': 0.18; 'trying': 0.21; 'header:In-Reply-To:1': 0.23; "i'm": 0.26; 'all,': 0.27; 'message-id:@mail.gmail.com': 0.29; 'reporting': 0.30; "didn't": 0.30; 'error': 0.31; 'nov': 0.31; 'pm,': 0.31; 'to:addr :python-list': 0.32; 'normally': 0.34; 'setting': 0.34; 'anything': 0.36; 'core': 0.36; 'fri,': 0.36; 'subject:skip:m 10': 0.36; 'but': 0.37; 'subject:with': 0.38; 'received:google.com': 0.38; 'received:209.85': 0.38; 'subject:: ': 0.39; 'to:addr:python.org': 0.39; 'received:209': 0.40; 'more': 0.60; 'address': 0.61; '2011': 0.62; 'permitted': 0.84; 'subject:always': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Tmt1qNsJJGPSRIIRxNzMjIy97pAShO6omlIDq0l/w9A=; b=sJtDHn2zHBrnb6fJBNc5PaM0+kHC+5fc5ebh9KKQn9BahKfYg2ZJTZaVBNRcLGKrTQ +Xz5vtFPYTWzhrNzHFStdemAMV1UmM14lAvJFvl3UWKHlDpnSBolydpMrtDBzvZk6RzZ pUPRx6uSent18d0hZEQI34G+c+KOXywr+ANFQ= |
| MIME-Version | 1.0 |
| In-Reply-To | <12715937.830.1321611809592.JavaMail.geo-discussion-forums@yqoo7> |
| References | <12715937.830.1321611809592.JavaMail.geo-discussion-forums@yqoo7> |
| Date | Sat, 19 Nov 2011 02:33:11 +1100 |
| Subject | Re: Why sock.bind is always report 10048 error when in a script with multiprocessing |
| From | Chris Angelico <rosuav@gmail.com> |
| To | python-list@python.org |
| Content-Type | text/plain; charset=ISO-8859-1 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2829.1321630394.27778.python-list@python.org> (permalink) |
| Lines | 9 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1321630394 news.xs4all.nl 6929 [2001:888:2000:d::a6]:48965 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:15891 |
Show key headers only | View raw
On Fri, Nov 18, 2011 at 9:23 PM, Junfeng Hu <hujunfeng@gmail.com> wrote: > Hi All, I'm trying to leverage my core i5 to send more UDP packets with multiprocssing, but I found a interesting thing is that the socket.bind is always reporting 10048 error even the process didn't do anything about the socket. > sock.bind((localIP,localPort)) > socket.error: [Errno 10048] Only one usage of each socket address (protocol/netw > ork address/port) is normally permitted Try setting the socket to SO_REUSEADDR. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Why sock.bind is always report 10048 error when in a script with multiprocessing Junfeng Hu <hujunfeng@gmail.com> - 2011-11-18 02:23 -0800
Re: Why sock.bind is always report 10048 error when in a script with multiprocessing Junfeng Hu <hujunfeng@gmail.com> - 2011-11-18 07:20 -0800
Re: Why sock.bind is always report 10048 error when in a script with multiprocessing Chris Angelico <rosuav@gmail.com> - 2011-11-19 02:33 +1100
Re: Why sock.bind is always report 10048 error when in a script with multiprocessing Junfeng Hu <hujunfeng@gmail.com> - 2011-11-18 07:48 -0800
Re: Why sock.bind is always report 10048 error when in a script with multiprocessing Junfeng Hu <hujunfeng@gmail.com> - 2011-11-18 07:48 -0800
Re: Why sock.bind is always report 10048 error when in a script with multiprocessing Junfeng Hu <hujunfeng@gmail.com> - 2011-11-18 07:51 -0800
Re: Why sock.bind is always report 10048 error when in a script with multiprocessing Junfeng Hu <hujunfeng@gmail.com> - 2011-11-18 07:51 -0800
Re: Why sock.bind is always report 10048 error when in a script with multiprocessing Chris Angelico <rosuav@gmail.com> - 2011-11-19 03:04 +1100
Re: Why sock.bind is always report 10048 error when in a script with multiprocessing Junfeng Hu <hujunfeng@gmail.com> - 2011-11-18 08:11 -0800
Re: Why sock.bind is always report 10048 error when in a script with multiprocessing Junfeng Hu <hujunfeng@gmail.com> - 2011-11-18 08:11 -0800
Re: Why sock.bind is always report 10048 error when in a script with multiprocessing Chris Angelico <rosuav@gmail.com> - 2011-11-19 03:16 +1100
Re: Why sock.bind is always report 10048 error when in a script with multiprocessing MRAB <python@mrabarnett.plus.com> - 2011-11-18 16:55 +0000
Re: Why sock.bind is always report 10048 error when in a script with multiprocessing Junfeng Hu <hujunfeng@gmail.com> - 2011-11-18 18:45 -0800
csiph-web