Example #1
0
        public object ReceiveMessage(ClientConnection client)
        {
            object dataReceived = NetworkUtilities.Receive(client);

            if (dataReceived == null)
            {
                throw new System.InvalidOperationException();
            }
            return(dataReceived);
        }
Example #2
0
 public new bool IsLocalConnection()
 {
     return(IPAddress == NetworkUtilities.GetLocalIPAddress());
 }
Example #3
0
 public void SendMessageTo(object message, ClientConnection client)
 {
     NetworkUtilities.Send(message, client);
 }