TCP-UDP Socket Example for Unity
Server-Side operations were staged and programmed as a unity project.
tcpListener = new TcpListener(IPAddress.Any, Port);
tcpListener.Start();
tcpListener.BeginAcceptTcpClient(new AsyncCallback(TCPConnectCallback), null);
UdpListener = new UdpClient(Port);
UdpListener.BeginReceive(UDPReceiveCallback, null);
a simple server log interface