SecureSocket(IOLoop loop, SocketInfo info, IntPtr tlsContext) : base(loop, info) { stream = new SecureSocketStream (this, new IntPtr (info.fd), tlsContext); this.tlsContext = tlsContext; this.state = Socket.SocketState.Open; }
SecureSocket(Context context, SocketInfo info, IntPtr tlsContext) : base(context, info) { stream = new SecureSocketStream(this, new IntPtr(info.fd), tlsContext); this.tlsContext = tlsContext; this.state = Socket.SocketState.Open; }
SecureSocketStream(IntPtr tls, SocketInfo info, Manos.IO.Libev.IOLoop ioloop) : base(info, ioloop) { this.tls = tls; SetHandle (new IntPtr (info.fd)); }
public SocketStream(SocketInfo info, IOLoop ioloop) : base(ioloop) { state = SocketState.Open; port = info.port; address = info.Address; }
PlainSocketStream(SocketInfo info, IOLoop ioloop) : base(info, ioloop) { fd = info.fd; if (fd > 0) { SetHandle (fd); } }
PlainSocketStream(SocketInfo info, IOLoop ioloop) : base(info, ioloop) { fd = info.fd; if (fd > 0) { SetHandle(fd); } }
private static extern int manos_tls_accept(IntPtr tls, out IntPtr client, out SocketInfo info);
protected EventedSocket(IOLoop loop, SocketInfo info) : this(loop) { address = info.Address.ToString (); port = info.port; }
PlainSocket(IOLoop loop, SocketInfo info) : base(loop, info) { stream = new PlainSocketStream (this, new IntPtr (info.fd)); this.state = Socket.SocketState.Open; }
PlainSocket(IOLoop loop, SocketInfo info) : base(loop, info) { stream = new PlainSocketStream(this, new IntPtr(info.fd)); this.state = Socket.SocketState.Open; }
private static extern int manos_socket_accept_many(int fd, SocketInfo [] infos, int max, out int err);
private static extern int manos_socket_receive_from(int fd, byte [] buffer, int max, int flags, out SocketInfo info, out int err);
PlainSocket(Context context, SocketInfo info) : base(context, info) { stream = new PlainSocketStream(this, new IntPtr(info.fd)); this.state = Socket.SocketState.Open; }
protected EventedSocket(IOLoop loop, SocketInfo info) : this(loop) { address = info.Address.ToString(); port = info.port; }
SecureSocketStream(IntPtr tls, SocketInfo info, Manos.IO.Libev.IOLoop ioloop) : base(info, ioloop) { this.tls = tls; SetHandle(new IntPtr(info.fd)); }
protected EventedSocket(Context context, SocketInfo info) : this(context) { address = info.Address.ToString (); port = info.port; }
PlainSocket(Context context, SocketInfo info) : base(context, info) { stream = new PlainSocketStream (this, new IntPtr (info.fd)); this.state = Socket.SocketState.Open; }
protected EventedSocket(Context context, SocketInfo info) : this(context) { address = info.Address.ToString(); port = info.port; }