Advertisement
Protocol_

HELPPPPP

Dec 25th, 2013
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. The 'send' function
  2. public void send (Socket s, string data)
  3. {
  4. data = data + '\n';
  5. s.Send(Encoding.ASCII.GetBytes(data));
  6. }
  7.  
  8.  
  9.  
  10. send (server, "<policy-file-request/>.");
  11. send(server, "<msg t='sys'><body action='verChk' r='0'><ver v='153' /></body></msg>.");
  12. send(server, "<msg t='sys'><body action='rndK' r='-1'></body></msg>.");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement