/// <summary>
 /// Return a string representation of this object.
 /// </summary>
 public override String ToString()
 {
     return(LocalSocket.ToString() + " [local] <-> " + RemoteSocket.ToString() + " [remote]");
 }
Пример #2
0
 /// <summary>
 /// Return a string representation of this object.
 /// </summary>
 public override String ToString()
 {
     return("UDP packet received at " + ServerTimestamp +
            " from " + RemoteSocket.ToString() +
            " to " + LocalSocket.ToString());
 }