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

	<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-04-22T07:26:26-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2004-04-22T07:26:26-04:00</updated>

		<published>2004-04-22T07:26:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35767#p35767</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35767#p35767"/>
		<title type="html"><![CDATA[socket example]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35767#p35767"><![CDATA[
hope this is what u mean cause don't understand exactly what u are saying..<br><br><div class="codebox"><p>Code: </p><pre><code>catch {socket host port} sock</code></pre></div>that string will set sock as variable and if the variable matches sock?? well then u connected other wize u didn't<br><div class="codebox"><p>Code: </p><pre><code>if {[string match -nocase sock?? $sock]} { .. } else { .. }</code></pre></div>and so on ..<br><br>note: you can write ur data to $sock once u connected use <br><div class="codebox"><p>Code: </p><pre><code>fconfigure $sock -blocking 0 -buffering line</code></pre></div>to make it non blocking well at least thats what i do <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"> if its the right way .. don't know but it works or use flush..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Thu Apr 22, 2004 7:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-04-21T09:46:14-04:00</updated>

		<published>2004-04-21T09:46:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35753#p35753</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35753#p35753"/>
		<title type="html"><![CDATA[socket example]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35753#p35753"><![CDATA[
Hi Ho.<br>I've tryed to search but I dont find any good example to how I use sockets.<br>I want it works when somebody send Song and Name data in a form  to "<a href="http://www.myserver.com:4000/?choose=songrequest" class="postlink">www.myserver.com:4000/?choose=songrequest</a>" it will come song and name from the form to my channel.<p>Statistics: Posted by Guest — Wed Apr 21, 2004 9:46 am</p><hr />
]]></content>
	</entry>
	</feed>
