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

	<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>2012-09-13T15:35:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2012-09-13T15:35:00-04:00</updated>

		<published>2012-09-13T15:35:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=100019#p100019</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=100019#p100019"/>
		<title type="html"><![CDATA[Enabling use of UDP sockets]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=100019#p100019"><![CDATA[
That kind of depends on how the system has been set up, which packages and tools are available, etc.<br>The extension is not compiled into the tcl-libraries, but merely compiled for it. The tcl environment would then load it into the runtime using the "load" command (usually handled by the packet manager, hence you see the "package require udp" command in the beginning of the example scripts).<br>To install it yourself, you'd most likely have to place the generated library file within your home directory. You would also need a standard compiling environment, including the tcl libraries (including the "devel" parts).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Thu Sep 13, 2012 3:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[na85]]></name></author>
		<updated>2012-09-13T15:24:36-04:00</updated>

		<published>2012-09-13T15:24:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=100018#p100018</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=100018#p100018"/>
		<title type="html"><![CDATA[Enabling use of UDP sockets]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=100018#p100018"><![CDATA[
Hi, thanks for the reply.<br><blockquote class="uncited"><div>The linked examples make use of the "Tcl UDP" extension for tcl. There are pre-built modules for windows, however for linux/un*x you'll have to build it against your tcl-library (not against eggdrop).<br>Generally, you wouldn't have to rebuild your eggdrop for adding new tcl-modules (unlike eggdrop-modules), though you might have to tell tcl where to look for it. Some experience in building/installing custom tcl-modules would be advisable.</div></blockquote>So... I haven't asked them yet, but since I'm running eggdrop on one of my shells, wouldn't my provider have to install that?<br><br>If that's true, wouldn't it be easier/more feasible to just write a new tcl command in C?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10460">na85</a> — Thu Sep 13, 2012 3:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2012-09-13T14:12:01-04:00</updated>

		<published>2012-09-13T14:12:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=100017#p100017</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=100017#p100017"/>
		<title type="html"><![CDATA[Enabling use of UDP sockets]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=100017#p100017"><![CDATA[
The linked examples make use of the "Tcl UDP" extension for tcl. There are pre-built modules for windows, however for linux/un*x you'll have to build it against your tcl-library (not against eggdrop).<br>Generally, you wouldn't have to rebuild your eggdrop for adding new tcl-modules (unlike eggdrop-modules), though you might have to tell tcl where to look for it. Some experience in building/installing custom tcl-modules would be advisable.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Thu Sep 13, 2012 2:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[na85]]></name></author>
		<updated>2012-09-13T01:50:49-04:00</updated>

		<published>2012-09-13T01:50:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=100014#p100014</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=100014#p100014"/>
		<title type="html"><![CDATA[Enabling use of UDP sockets]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=100014#p100014"><![CDATA[
Hi everyone.  Been searching but can't find the answer to my question.<br><br>I want to write a script that sends a simple hex-encoded string via UDP to a particular server.  Obviously, Tcl and Eggdrop don't have UDP support.<br><br>I've found <a href="http://wiki.tcl.tk/16733" class="postlink">this link on tcl.tk</a> but I'm still fuzzy on how to actually allow eggdrop to use a udp socket.<br><br>Do I need to somehow recompile eggdrop with the tcludp library?<br><br>Do I need to ask my shell provider to add the tcludp library to the system?<br><br>Would it be easier/possible to write a one-off proc in C?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10460">na85</a> — Thu Sep 13, 2012 1:50 am</p><hr />
]]></content>
	</entry>
	</feed>
