Example #1
0
        public SocketStream(SocketInfo info, IOLoop ioloop)
            : base(ioloop)
        {
            fd = info.fd;

            if (fd > 0) {
                SetHandle (fd);
                state = SocketState.Open;
            }

            port = info.port;
        }
Example #2
0
        public SocketStream(SocketInfo info, IOLoop ioloop) : base(ioloop)
        {
            fd = info.fd;

            if (fd > 0)
            {
                SetHandle(fd);
                state = SocketState.Open;
            }

            port = info.port;
        }
Example #3
0
 private static extern int manos_socket_receive_from(int fd, byte [] buffer, int max, int flags, out SocketInfo info, out int err);
Example #4
0
 private static extern int manos_socket_accept_many(int fd, SocketInfo [] infos, int max, out int err);
Example #5
0
 public SocketStream(SocketInfo info) : this(info, IOLoop.Instance)
 {
 }
Example #6
0
 public SocketStream(SocketInfo info)
     : this(info, IOLoop.Instance)
 {
 }