getting quick arp request

Steve Holden steve at holdenweb.com
Thu Sep 7 06:11:17 EDT 2006


Ben Sizer wrote:
> kondal wrote:
> 
>>>Something is limiting the TCP/IP connections from my python program at
>>>10 maximum at the same time.
>>>I do not see this limit in my code.
>>>I did not bumped over the 4226 error.
>>>
>>>=> Where does this limit come from.
>>>=> How can I overcome it.
>>
>>You can just edit it by creating a new key in the registry.
>>
>>HKEY_LOCAL_MACHINE - SYSTEM - CurrentControlSet - Services -Tcpip -
>>Parameters
>>
>>Create a DWORD key named "TcpNumConnections" and set the value to
>>00fffffe or 16777214.
> 
> 
> That's the maximum number of connections, which is unlikely to be what
> he's running up against. It's more likely the original poster is
> hitting the max number of half-open connections, which is limited to 10
> (exactly the figure he's seeing). Perhaps the 4226 event just isn't
> appearing for some reason. I've had that myself sometimes.
> 
> There is an unofficial OS-level patch for this behaviour at this
> address: http://www.lvllord.de/?lang=en&url=downloads
> 
> No idea if it works or if it's safe, but many people use it.
> 
Is it relevant to point out that the ARP protocol is a connectionless 
network-layer protocol, so it would seem a little bogus of the Microsoft 
stack to apply TCP control parameters to it.

regards
  Steve
-- 
Steve Holden       +44 150 684 7255  +1 800 494 3119
Holden Web LLC/Ltd          http://www.holdenweb.com
Skype: holdenweb       http://holdenweb.blogspot.com
Recent Ramblings     http://del.icio.us/steve.holden




More information about the Python-list mailing list