<?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/8476" />

	<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>2004-10-24T15:19:20-04:00</updated>

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

		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2004-10-24T15:17:45-04:00</updated>

		<published>2004-10-24T15:17:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=42192#p42192</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=42192#p42192"/>
		<title type="html"><![CDATA[informative queston about flush and fconfigure]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=42192#p42192"><![CDATA[
dude, [vwait] has nothing to do with async sockets, and it's the exact solution of your problem - which you can easily find out yourself, if you bother to RTFM and do a simple google search for "tcl non-blocking"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sun Oct 24, 2004 3:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2004-10-24T13:29:17-04:00</updated>

		<published>2004-10-24T13:29:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=42174#p42174</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=42174#p42174"/>
		<title type="html"><![CDATA[informative queston about flush and fconfigure]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=42174#p42174"><![CDATA[
dude i don't use async sockets .. and i don't know but 3 days of waiting should be plenty of time for it to go into any mode.. <br><br>but i could be wrong so .. maybe give me a sample its not a async socket its an active normal tcp socket .. it isn't supposed to wait for anything..<br><br>also i don't wana run an eggdrop this is meanth to be a server not a client i use eggdrops for channel maintaining what they where meanth for ..  not as a network service.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Sun Oct 24, 2004 1:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2004-10-24T15:19:20-04:00</updated>

		<published>2004-10-24T10:48:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=42153#p42153</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=42153#p42153"/>
		<title type="html"><![CDATA[informative queston about flush and fconfigure]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=42153#p42153"><![CDATA[
it's not [fconfigure] that's f*cked up <br><br>your stand-alone TCL app eats the whole CPU time most likely because you never gave it a chance to enter TCL's event processing loop (which you don't have to do if you run it as eggdrop script, because the eggdrop does that for you)<br><br>you need to use [vwait]<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sun Oct 24, 2004 10:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2004-10-24T04:41:45-04:00</updated>

		<published>2004-10-24T04:41:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=42136#p42136</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=42136#p42136"/>
		<title type="html"><![CDATA[informative queston about flush and fconfigure]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=42136#p42136"><![CDATA[
if you read closer u know i am not using a eggdrop but a shell script, also i am not asking how control and connect work i know that i know how to create socket bots and so on .. i just was asking how this is cause it is weird to me while it should use so mutch cpu  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Sun Oct 24, 2004 4:41 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2004-10-22T13:05:58-04:00</updated>

		<published>2004-10-22T13:05:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=42095#p42095</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=42095#p42095"/>
		<title type="html"><![CDATA[informative queston about flush and fconfigure]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=42095#p42095"><![CDATA[
you don't need to handle non-blocking sockets through TCL's built-in functions... eggdrop's [connect] and [control] procedures do exactly that for you, in more convenient manner<br><br>as example, see <a href="http://demond.net/ircd.tcl" class="postlink">ircd.tcl</a>: a hybrid-compatible ircd emulator<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Fri Oct 22, 2004 1:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2004-10-22T08:35:32-04:00</updated>

		<published>2004-10-22T08:35:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=42086#p42086</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=42086#p42086"/>
		<title type="html"><![CDATA[informative queston about flush and fconfigure]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=42086#p42086"><![CDATA[
well i made socket based service written in tcl (link with hybrid)<br><br>and when i change the fconfigures into flushes then its that result ..<br><br>ive been using it for a while but i am rewriting it<br>so first time i wrot it with flush.. second "now" rewrote it and used fconfigure<br><br>i couldn't figur out why the cpu had increased so mutch first i tought that it was the while loop but then it suddenly hit me .. that it must be the fconfigur so i started testing and indeed fconfigure used 97% to 100% cpu while flush only used 0 to 0.1 cpu<br><br>i used top in linux opend 2 shells ran script with fconfigure then with flush difference well i am not going for exact notations if u know what i mean difference between 100 and 0 is enough for me <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"> in the asumtion that the cmd top works properly of course but from what i can say its pretty accurant..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Fri Oct 22, 2004 8:35 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-10-21T09:05:33-04:00</updated>

		<published>2004-10-21T09:05:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=42061#p42061</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=42061#p42061"/>
		<title type="html"><![CDATA[informative queston about flush and fconfigure]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=42061#p42061"><![CDATA[
flush does about nothing when the buffer is empty. fconfigure will change alot of internal values no matter what.<br>how did you measure this percentage? it doesn't make sense...commands don't take a percentage of cpu, the interpreter does. try "time" instead and don't try to compare commands that do entirely different things. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Thu Oct 21, 2004 9:05 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2004-10-21T07:56:06-04:00</updated>

		<published>2004-10-21T07:56:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=42058#p42058</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=42058#p42058"/>
		<title type="html"><![CDATA[informative queston about flush and fconfigure]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=42058#p42058"><![CDATA[
hmm why is it that <br><br>"fconfigure $s -blocking 0 -buffering line" takes 97% cpu <br><br>and <br><br>"flush $s" only 0.1%<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Thu Oct 21, 2004 7:56 am</p><hr />
]]></content>
	</entry>
	</feed>
