Beispiel #1
0
 public TcpListener(string ipAddress, int port, UVLoop loop) : base(loop, HandleType.UV_TCP)
 {
     UVException.ThrowIfError(UVInterop.uv_tcp_init(Loop.Handle, Handle));
     Bind(this, ipAddress, port);
 }
Beispiel #2
0
 public Tcp(UVLoop loop) : base(loop, HandleType.UV_TCP)
 {
     UVInterop.uv_tcp_init(loop.Handle, Handle);
 }