mIRC Home    About    Download    Register    News    Help

Print Thread
using sockwrite to send NULL without CRLF #123691 26/06/05 12:20 PM
Joined: Jan 2003
Posts: 20
K
Krayzee Offline OP
Ameglian cow
OP Offline
Ameglian cow
K
Joined: Jan 2003
Posts: 20
hi i need to send a NULL String to a server but the server protocols dont use CRLF. how can u do this using /sockwrite??

EG

/SockWrite <name> $NULL

Re: using sockwrite to send NULL without CRLF #123692 26/06/05 01:24 PM
Joined: Dec 2002
Posts: 3,138
C
Collective Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
//bset &null 1 0 | sockwrite yahoo &null should do the job...I think.

Re: using sockwrite to send NULL without CRLF #123693 28/06/05 11:10 PM
Joined: Apr 2003
Posts: 701
K
Kelder Offline
Hoopy frood
Offline
Hoopy frood
K
Joined: Apr 2003
Posts: 701
Just to be sure, you want to send an empty string? or a string with the letters 'NULL' in it? or a message with the binary code 0?

Empty message, maybe //bset &nul 1 0 | sockwrite -b name 0 &nul