Пример #1
0
 public void tcp_bind(UvTcpHandle handle, ref SockAddr addr, int flags)
 {
     handle.Validate();
     ThrowIfErrored(_uv_tcp_bind(handle, ref addr, flags));
     if (PlatformApis.IsWindows)
     {
         tcp_bind_windows_extras(handle);
     }
 }
Пример #2
0
 public static extern int uv_tcp_getpeername(UvTcpHandle handle,out SockAddr name,ref int namelen);
Пример #3
0
 public static extern int uv_ip6_addr(string ip,int port,out SockAddr addr);
Пример #4
0
 public static extern void uv_tcp_connect(UvConnectRequest req,UvTcpHandle handle,ref SockAddr addr,uv_connect_cb cb);
Пример #5
0
 public static extern int uv_tcp_bind(UvTcpHandle handle,ref SockAddr addr,int flags);
Пример #6
0
 public void tcp_getpeername(UvTcpHandle handle, out SockAddr addr, ref int namelen)
 {
     handle.Validate();
     ThrowIfErrored(_uv_tcp_getpeername(handle, out addr, ref namelen));
 }
Пример #7
0
 public void ip6_addr(string ip, int port, out SockAddr addr, out Exception error)
 {
     Check(_uv_ip6_addr(ip, port, out addr), out error);
 }
Пример #8
0
 public void tcp_connect(UvConnectRequest req, UvTcpHandle handle, ref SockAddr addr, uv_connect_cb cb)
 {
     req.Validate();
     handle.Validate();
     _uv_tcp_connect(req, handle, ref addr, cb);
 }
Пример #9
0
 public static extern int uv_tcp_getpeername(UvTcpHandle handle, out SockAddr name, ref int namelen);
Пример #10
0
 public static extern void uv_tcp_connect(UvConnectRequest req, UvTcpHandle handle, ref SockAddr addr, uv_connect_cb cb);
Пример #11
0
 public static extern int uv_ip6_addr(string ip, int port, out SockAddr addr);
Пример #12
0
 public static extern int uv_tcp_bind(UvTcpHandle handle, ref SockAddr addr, int flags);
Пример #13
0
 public void tcp_getpeername(UvTcpHandle handle, out SockAddr addr, ref int namelen)
 {
     handle.Validate();
     ThrowIfErrored(_uv_tcp_getpeername(handle, out addr, ref namelen));
 }
Пример #14
0
 public void ip6_addr(string ip, int port, out SockAddr addr, out Exception error)
 {
     Check(_uv_ip6_addr(ip, port, out addr), out error);
 }
Пример #15
0
 public void tcp_connect(UvConnectRequest req, UvTcpHandle handle, ref SockAddr addr, uv_connect_cb cb)
 {
     req.Validate();
     handle.Validate();
     _uv_tcp_connect(req, handle, ref addr, cb);
 }
Пример #16
0
 public void tcp_bind(UvTcpHandle handle, ref SockAddr addr, int flags)
 {
     handle.Validate();
     ThrowIfErrored(_uv_tcp_bind(handle, ref addr, flags));
     if (PlatformApis.IsWindows)
     {
         tcp_bind_windows_extras(handle);
     }
 }