public static extern int uv_listen(UvStreamHandle handle,int backlog,uv_connection_cb cb);
internal static extern int uv_listen(IntPtr stream, int backlog, uv_connection_cb cb);
public void listen(UvStreamHandle handle, int backlog, uv_connection_cb cb) { handle.Validate(); Check(_uv_listen(handle, backlog, cb)); }
public void listen(UvStreamHandle handle, int backlog, uv_connection_cb cb) { handle.Validate(); ThrowIfErrored(_uv_listen(handle, backlog, cb)); }
static PipeServer() { unmanaged_callback = StaticCallback; }
internal static extern int uv_listen(IntPtr stream, int backlog, uv_connection_cb cb); // uv_stream_t*
static TcpServer() { unmanaged_callback = StaticCallback; }
public static extern int uv_listen(UvStreamHandle handle, int backlog, uv_connection_cb cb);
protected override void InitDelegates() { base.InitDelegates(); _connectionDelegate = new uv_connection_cb(this.OnClientConnected); }