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
I'm making a socket connection to log into my mesenger account.

but on one of the lines i have to send the server something like

QRY 11 msmsgs@msnmsgr.com 32\r\n
a6ce20281d8de8b0d4d0b2ba55196930

but i keep sending

QRY 11 msmsgs@msnmsgr.com 32\r\n
a6ce20281d8de8b0d4d0b2ba55196930\r\n

how can i stop the \r\n on 2nd line being sent. my line is

sockwrite -n $Sockname QRY 11 msmsgs@msnmsgr.com 32 $+ $Crlf $+ a6ce20281d8de8b0d4d0b2ba55196930

but a sockwrite automatically puts a crlf at the end right? i need to stop this guys

someone please help. thanks


Joined: Oct 2003
Posts: 313
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Oct 2003
Posts: 313
Code:
sockwrite -n

puts a carriage return at the end.

Without the -n it won't.

Always pays to read the docs. /help /sockwrite laugh


Sais

Link Copied to Clipboard