mIRC Home    About    Download    Register    News    Help

Print Thread
#60616 16/11/03 02:45 PM
S
Sir_Eleet
Sir_Eleet
S
I've tried to make a little udp sockets script, but I can't get it working.

Can someone help me?
I want some kind of simple script that echos incoming UDP socket messages through some port.

#60617 16/11/03 04:32 PM
Joined: Jan 2003
Posts: 2,973
K
Hoopy frood
Offline
Hoopy frood
K
Joined: Jan 2003
Posts: 2,973
mIRC doesn't have the ability to listen to UDP sockets I don't think. The next best thing is to use a program like NGREP or NukeNabber that listens to the sockets. They wouldn't both be external rpgortams however.

#60618 16/11/03 05:21 PM
S
Sir_Eleet
Sir_Eleet
S
Hmm I don't want to use other programs, I'll just stick with TCP/IP sockets then.

Thanks

#60619 16/11/03 05:25 PM
Joined: Dec 2002
Posts: 3,015
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,015
Code:
on *:UDPREAD:udplisten:{
  sockread %t
  echo -a %t
}

/sockudp -k udplisten 6668
/sockudp -n udptemp 127.0.0.1 6668 Hello


Link Copied to Clipboard