Exemplo n.º 1
0
Arquivo: fd_set.cs Projeto: ifzz/FDK
        public static fd_set Create(IntPtr socket)
        {
            var handle = new fd_set
            {
                fd_count = 1,
                fd_array = socket
            };

            return handle;
        }
Exemplo n.º 2
0
Arquivo: WinAPI.cs Projeto: ifzz/FDK
 public static extern int select(Int32 nfds, fd_set* readfds, fd_set* writefds, fd_set* exceptfds, timeval* timeout);