Socket question

Sun Jan 11 01:16:00 GMT 1998

	I ported a few programs I wrote for bsdi, which 
compiled flawlessly.  When run, the programs are able to 
create the socket, and connect, however data read in from 
the remote host, does not appear to be read in properly.

The programs run properly in unix, but not when compiled
for windows, i include a bit of the source so maybe someone
out there can help.  In readline, i have the program log
the incoming data, in UNIX, it logs the actual input, in
winnt, it turns out to be blank lines logged instead....

----------- begin bit of source ------------
                switch (select(NFDBITS, &fdvar, (fd_set *) 0,
                (fd_set *) 0, &timeout)) {

---- and parse_data -----

parse_data(fd_set * read_fds)
        if (FD_ISSET(socketfd, read_fds))
                if (readline() > 0) {
                } else
----------- end source -------------

Thanks for any help given.

For help on using this list (especially unsubscribing), send a message to
"" with one line of text: "help".

More information about the Cygwin mailing list