mIRC Home    About    Download    Register    News    Help

Print Thread
#60616 16/11/03 02:45 PM
Joined: Nov 2003
Posts: 6
S
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
S
Joined: Nov 2003
Posts: 6
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: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
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.


-KingTomato
#60618 16/11/03 05:21 PM
Joined: Nov 2003
Posts: 6
S
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
S
Joined: Nov 2003
Posts: 6
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,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
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