public void tcp_bind(UvTcpHandle handle, ref SockAddr addr, int flags) { handle.Validate(); Check(_uv_tcp_bind(handle, ref addr, flags)); if (Platform.System == OS.Windows) { tcp_bind_windows_extras(handle); } }
public void tcp_getpeername(UvTcpHandle handle, out SockAddr addr, ref int namelen) { handle.Validate(); Check(_uv_tcp_getpeername(handle, out addr, ref namelen)); }
public void tcp_keepalive(UvTcpHandle handle, bool enable, uint delay) { handle.Validate(); Check(_uv_tcp_keepalive(handle, enable ? 1 : 0, delay)); }
public void tcp_nodelay(UvTcpHandle handle, bool enable) { handle.Validate(); Check(_uv_tcp_nodelay(handle, enable ? 1 : 0)); }
public void tcp_open(UvTcpHandle handle, IntPtr hSocket) { handle.Validate(); Check(_uv_tcp_open(handle, hSocket)); }
public void tcp_connect(UvConnectRequest req, UvTcpHandle handle, ref SockAddr addr, uv_connect_cb connect_cb) { req.Validate(); handle.Validate(); _uv_tcp_connect(req, handle, ref addr, connect_cb); }
public void tcp_init(UvLoopHandle loop, UvTcpHandle handle) { loop.Validate(); handle.Validate(); Check(_uv_tcp_init(loop, handle)); }