public void Connect(IEndPoint endPoint) { Endpoint = (EndPointWrapper)endPoint; socket = CreateSocket(Endpoint.inner); socket.Connect(Endpoint.inner); }
public void Bind(IEndPoint endPoint) { Endpoint = (EndPointWrapper)endPoint; socket = CreateSocket(Endpoint.inner); socket.DualMode = true; socket.Bind(Endpoint.inner); }