Steve Holden wrote:
> Do note, though, that if you aren't using some means (threading,
> forking, etc) of handling the connections asynchronously then your
> server will normally only queue a very limited number of connections
> (usually 5 at most).
The example given by the original poster seeme
Ben Sizer wrote:
> [EMAIL PROTECTED] wrote:
>
>
>>Occasionally (perhaps 5% of the time) the following exception gets
>>raised:
>>
>>(10054, 'Connection reset by peer')
>
>
> Generally this just means the connection has closed through some
> unusual means, perhaps by being turned off, or a netwo
[EMAIL PROTECTED] wrote:
> Occasionally (perhaps 5% of the time) the following exception gets
> raised:
>
> (10054, 'Connection reset by peer')
Generally this just means the connection has closed through some
unusual means, perhaps by being turned off, or a network cable being
unplugged, or a ti
This may be more of a socket question than a python question; not sure.
Using this code to instantiate/connect/set options
connectionHandle = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
errorStatus = connectionHandle.connect_ex((ipAddress, port))
connectionHandle.setsockopt(socket.SOL_SOCKET