/// <summary>
 /// Takes in a SocketState, s, and calls the NetworkAction method stored
 /// by s.
 /// </summary>
 public void InvokeNetworkAction(SocketState s)
 {
     s.action(s);
 }