/// <summary> /// Starts listening to network requests /// </summary> public void Start(int backLog) { // check object state if (_disposed) { throw new ObjectDisposedException(GetType().FullName); } if (_transport == null) { ITransport transport = CreateTransport(); transport.Bind(_url); transport.Listen(backLog); _transport = transport; } }
public void Bind(string url) { _transport.Bind(url); }
public void Bind(int port) { transport.Bind((ushort)port); }