コード例 #1
0
 public void tcp_bind(UvTcpHandle handle, ref SockAddr addr, int flags)
 {
     handle.Validate();
     Check(_uv_tcp_bind(handle, ref addr, flags));
     if (PlatformApis.IsWindows)
     {
         tcp_bind_windows_extras(handle);
     }
 }
コード例 #2
0
ファイル: Libuv.cs プロジェクト: agr/AspNetCoreDebuggable
 public void tcp_getpeername(UvTcpHandle handle, out SockAddr addr, ref int namelen)
 {
     handle.Validate();
     ThrowIfErrored(_uv_tcp_getpeername(handle, out addr, ref namelen));
 }
コード例 #3
0
ファイル: Libuv.cs プロジェクト: agr/AspNetCoreDebuggable
 public void tcp_nodelay(UvTcpHandle handle, bool enable)
 {
     handle.Validate();
     ThrowIfErrored(_uv_tcp_nodelay(handle, enable ? 1 : 0));
 }
コード例 #4
0
ファイル: Libuv.cs プロジェクト: agr/AspNetCoreDebuggable
 public void tcp_open(UvTcpHandle handle, IntPtr hSocket)
 {
     handle.Validate();
     ThrowIfErrored(_uv_tcp_open(handle, hSocket));
 }
コード例 #5
0
ファイル: Libuv.cs プロジェクト: agr/AspNetCoreDebuggable
 public void tcp_bind(UvTcpHandle handle, ref SockAddr addr, int flags)
 {
     handle.Validate();
     ThrowIfErrored(_uv_tcp_bind(handle, ref addr, flags));
 }
コード例 #6
0
ファイル: Libuv.cs プロジェクト: agr/AspNetCoreDebuggable
 public void tcp_init(UvLoopHandle loop, UvTcpHandle handle)
 {
     loop.Validate();
     handle.Validate();
     ThrowIfErrored(_uv_tcp_init(loop, handle));
 }
コード例 #7
0
 public void tcp_getsockname(UvTcpHandle handle, out SockAddr addr, ref int namelen)
 {
     handle.Validate();
     Check(_uv_tcp_getsockname(handle, out addr, ref namelen));
 }
コード例 #8
0
 public void tcp_nodelay(UvTcpHandle handle, bool enable)
 {
     handle.Validate();
     Check(_uv_tcp_nodelay(handle, enable ? 1 : 0));
 }
コード例 #9
0
 public void tcp_open(UvTcpHandle handle, IntPtr hSocket)
 {
     handle.Validate();
     Check(_uv_tcp_open(handle, hSocket));
 }
コード例 #10
0
 public void tcp_init(UvLoopHandle loop, UvTcpHandle handle)
 {
     loop.Validate();
     handle.Validate();
     Check(_uv_tcp_init(loop, handle));
 }