mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Aug 2006
Posts: 1
J
JuXas Offline OP
Mostly harmless
OP Offline
Mostly harmless
J
Joined: Aug 2006
Posts: 1
Code:
on *:SOCKREAD:*:{
  var %tmp
  sockread %tmp
  echo Socket Read ( $sockname ): %tmp
}

  

I created my server with c# and i'm trying to use it with mirc.
I can connect and write to server, but when i try to wrie from server mirc reads no data but just shows Socket Read...
With apache server or IRC server everything works fine.
Where's the problem? In C# server is TCP server with Socket type of Stream. Everythings works fine when i connect to server through telnet.

Last edited by JuXas; 17/08/06 06:29 AM.
Joined: May 2006
Posts: 93
Babel fish
Offline
Babel fish
Joined: May 2006
Posts: 93
the code seems ok, try to echo $sockbr and see if the number of bytes read is 0...


Link Copied to Clipboard