mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Feb 2003
Posts: 7
S
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
S
Joined: Feb 2003
Posts: 7
OK I'm prolly missing something obvious here but

/sockclose *

//sockudp -kd $ip UT 7778 193.163.220.168 27011 \status\

( where my $ip = 81.135.31.42 )

/socklist

* Open sockets:
UT 81.135.39.159:7778 udp active (on: 81.135.31.42 7778)

that doesnt seem right smirk

81.135.39.159 is the ip I had last time Iconnected to the internet.

I've tried alot of diffrent combinations of the switches and changeing ip's/ports but nothing seems to work frown

hope you can help.

Joined: Dec 2002
Posts: 1,321
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
Code:

/sockupd -k UT 193.163.220.168 27011 \status\
on *:UDPREAD:UT:{
  ;  commands
}


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C
Joined: Feb 2003
Posts: 7
S
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
S
Joined: Feb 2003
Posts: 7
on *:udpread:UT:{

UTrecive

}

I have a sockread remote already one that will recive multiple packets and then parse them into variables reayd for use in scripts ... the problem is that the sockudp command isnt opening to the right ip and port.

Joined: Feb 2003
Posts: 7
S
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
S
Joined: Feb 2003
Posts: 7
when using /sockudp for some reason it wont use the IP and PORT I specify for it to connect to, it will always connect to the ip my dial up adapter last used.

I was wondering if it could be a problem with winsock as apposed to mirc???

Joined: Feb 2003
Posts: 7
S
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
S
Joined: Feb 2003
Posts: 7
nm fixed.


Link Copied to Clipboard