|
From: | Paolo Bonzini |
Subject: | [Help-smalltalk] Re: TCP Server Socket issue |
Date: | Wed, 19 Jan 2011 18:22:00 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7 |
On 01/16/2011 11:34 PM, Holger Hans Peter Freyther wrote:
From a quick look at the socket/ipv4/ipv6 impl I don't see anyone assigning sk_err to anything in case of a failed bind, so I am not sure where the SO_ERROR != 0 on failed bind is coming from.
FWIW I don't understand even where is that connect sets sk_err in the Linux socket code... However I think accept is safe because it may be a blocking call.
We need testcases and I like your start. I didn't merge it yet, but I like your way to prod. :)
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |