Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2018
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. using System;
  2. using System.Net;
  3. using System.Threading.Tasks;
  4. using System.Net.Sockets;
  5. using System.Timers;
  6. using System.Text;
  7.  
  8. namespace Roleplay_Flash_Server.assets.communication.client.events
  9. {
  10. class handshakeEvent
  11. {
  12. private static string prefix = "[communication->client->events->handshakeEvent.cs] ";
  13.  
  14. public static void init(TcpClient socket)
  15. {
  16. if(socket.Connected == true)
  17. {
  18. server.readRequest(socket);
  19. Console.WriteLine(prefix);
  20. }
  21. }
  22. }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement