<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/9172" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2005-02-16T02:11:25-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/9172</id>

		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-02-16T02:11:25-04:00</updated>

		<published>2005-02-16T02:11:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46662#p46662</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46662#p46662"/>
		<title type="html"><![CDATA[Async socket limit problem.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46662#p46662"><![CDATA[
suggestion of me would be:<br>add each started query with lappend to a list, delete each timeouted/failed/success with lrepleace. As long the list is under 5 socks, open them imediadly (this will ensure fast remove from channel, while no flood), if there are more bind a time event to each sec to check if 5 less than 5 are open and process the next ones, if wise ^-^ (and this should reduce resource usuage to a apzectable). if the machine is slow or faster you can change the max simul syn sends or increase time between checks.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Wed Feb 16, 2005 2:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[egghead]]></name></author>
		<updated>2005-02-15T22:43:46-04:00</updated>

		<published>2005-02-15T22:43:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46647#p46647</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46647#p46647"/>
		<title type="html"><![CDATA[Re: Async socket limit problem.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46647#p46647"><![CDATA[
<blockquote class="uncited"><div>does anyone know how to limit sockets ?<br><br>i am doing a socket check for proxys and i wana be able to limit the threads when i use a async socket cause when join flood appears.. or when netsplits occour mass joins happen .. and the bot goes balistic for opening large amount of sockets so i was wondering if there was a way to limit it..  and cache this .. just wondering for a solution on how you could do this ..</div></blockquote>Upon a join you add the IP to the list of IP's to be checked.<br><br>Every x seconds/minutes you check the number of opened sockets. If it is below a treshhold, you add checks on the IPs from the list.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=282">egghead</a> — Tue Feb 15, 2005 10:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2005-02-15T11:05:48-04:00</updated>

		<published>2005-02-15T11:05:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46642#p46642</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46642#p46642"/>
		<title type="html"><![CDATA[Async socket limit problem.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46642#p46642"><![CDATA[
does anyone know how to limit sockets ?<br><br>i am doing a socket check for proxys and i wana be able to limit the threads when i use a async socket cause when join flood appears.. or when netsplits occour mass joins happen .. and the bot goes balistic for opening large amount of sockets so i was wondering if there was a way to limit it..  and cache this .. just wondering for a solution on how you could do this ..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Tue Feb 15, 2005 11:05 am</p><hr />
]]></content>
	</entry>
	</feed>
