mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Oct 2005
Posts: 827
P
pouncer Offline OP
Hoopy frood
OP Offline
Hoopy frood
P
Joined: Oct 2005
Posts: 827
Perhaps it's me. but i came across weird bugs today.

socklisten local (line 1)
server localhost $sock(local).port

It's giving me:

* /socklisten: port error (line 1, test1)

and also when i try to open sockets on port 80 to connect to websites to grab data, i get a socket error from $sock($sockname).wsmsg:

[0] Unknown Error

Joined: Dec 2002
Posts: 580
N
Fjord artisan
Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 580
Please don't post the same question in two forums! With 509 posts, I thought you would realize that. Please use the original post for this question.

BTW, there aren't (most likely) any bugs with socket connections. It is you who is most likely not using sockets correctly.

Last edited by NaquadaServ; 10/05/07 01:18 PM.

NaquadaBomb
www.mirc-dll.com
Joined: Oct 2005
Posts: 827
P
pouncer Offline OP
Hoopy frood
OP Offline
Hoopy frood
P
Joined: Oct 2005
Posts: 827
There is nothing wrong with the code I've posted. It is perfectly valid to do this:

socklisten local
server localhost $sock(local).port

The above gives me errors, but what normal happen is that it would go into the socklisten and do this:

on *:SOCKLISTEN:local:{
sockaccept localhost
sockclose local
sockwrite -n localhost whatever..
}
But it's not reaching the socklisten since my errors.

Last edited by pouncer; 10/05/07 01:43 PM.
Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
Try supplying a port.

Joined: Mar 2006
Posts: 395
T
Pan-dimensional mouse
Offline
Pan-dimensional mouse
T
Joined: Mar 2006
Posts: 395
lol <no comment>


[02:16] * Titanic has quit IRC (Excess Flood)

Link Copied to Clipboard