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));
 }
Exemple #4
0
 public void listen(UvStreamHandle handle, int backlog, uv_connection_cb cb)
 {
     handle.Validate();
     ThrowIfErrored(_uv_listen(handle, backlog, cb));
 }
 static PipeServer()
 {
     unmanaged_callback = StaticCallback;
 }
Exemple #6
0
 internal static extern int uv_listen(IntPtr stream, int backlog, uv_connection_cb cb);         // uv_stream_t*
Exemple #7
0
 public void listen(UvStreamHandle handle, int backlog, uv_connection_cb cb)
 {
     handle.Validate();
     Check(_uv_listen(handle, backlog, cb));
 }
Exemple #8
0
 static TcpServer()
 {
     unmanaged_callback = StaticCallback;
 }
 public static extern int uv_listen(UvStreamHandle handle, int backlog, uv_connection_cb cb);
Exemple #10
0
 protected override void InitDelegates()
 {
     base.InitDelegates();
     _connectionDelegate = new uv_connection_cb(this.OnClientConnected);
 }
Exemple #11
0
 static TcpServer()
 {
     unmanaged_callback = StaticCallback;
 }
Exemple #12
0
 protected override void InitDelegates()
 {
     base.InitDelegates();
     _connectionDelegate = new uv_connection_cb(this.OnClientConnected);
 }
Exemple #13
0
 public void listen(UvStreamHandle handle, int backlog, uv_connection_cb cb)
 {
     handle.Validate();
     ThrowIfErrored(_uv_listen(handle, backlog, cb));
 }
Exemple #14
0
 static PipeServer()
 {
     unmanaged_callback = StaticCallback;
 }