Mail Archives: cygwin/1998/01/12/12:18:10
Jason said:
>
[SNIP]
> void
> parse_data(fd_set * read_fds)
> {
> if (FD_ISSET(socketfd, read_fds))
> if (readline() > 0) {
What does read line do? If it calls read than that's why.
Winsock does not have the Unix property of being able to use
read() and write() on sockets.
> parse(L);
> } else
> close(socketfd);
You can't use close either. Use closesocket().
Regards,
Harry.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -