This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

TCP and UDP Connection

Old posts that have not been replied to for several years.
Locked
F
Forbidden_Soul

TCP and UDP Connection

Post by Forbidden_Soul »

Is it possible to script a file for my eggdrop so he connect to a remote pc, and send it msg's by UDP.
(In mirc I use socks)
In Vb I Do it like this:

UDPClient.RemoteHost = txtSVR
UDPClient.RemotePort = CLng(txtPORT)
UDPClient.Connect

but, in eggdrop how this is done?
HELP ME!!!
P
Photon
Op
Posts: 170
Joined: Wed Aug 28, 2002 8:00 am
Location: Liverpool, England

Post by Photon »

unfortunately, you cant do UDP connections in tcl, only TCP/IP (or so I'm told)

thats why I'm making a module ... :roll:
F
Forbidden_Soul

Post by Forbidden_Soul »

were can I find you (nick, ircserver) ?

how is the progress of your module?

do u have a realease date?
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

From the sounds of it, this module he is creating is mosterous.

First off, from what I understand, UPD sockets where prepped to be implimented in the last release of Tcl. However, they seemed to have vanished at the last second (so I hear).

There should be a Tcl package however, that will allow you to use UDP sockets.

Here is a page of Tcl packages.
P
Photon
Op
Posts: 170
Joined: Wed Aug 28, 2002 8:00 am
Location: Liverpool, England

Post by Photon »

I'm on Quakenet, usually as Photon2k - you can find me in #byrtcw if I'm online.

I dont think my module will be any use to you though, as its specifically designed for making connections and sending packets to game servers, not just making any connection to any machine and sending any packet ...

I could possibly bang something together that would do that and interface to tcl as well, but I would have to finish that project first. In the meantime I could show you how to do it, but you'd have to code your own module.
T
TLM
Voice
Posts: 11
Joined: Thu Apr 10, 2003 7:35 pm
Location: Asheville, NC, USA
Contact:

Post by TLM »

Not sure if this will help ya, its not a offical tcl addon but
http://www1.cs.columbia.edu/~xiaotaow/research/tcludp/
has some info about a 3rd party made tcl udp addon includes link to it.
Locked