Greetings!  Could you please try the following?  Please remember the
winsock2.h include in the original patch.

Thanks!

int
mingwlisten(FILE *fp) {

  int c = 0;
  ioctlsocket((fp)->_fileno, FIONREAD, &c);
  if (c<=0)
    return 1;
  return 0;
}



-- 
Camm Maguire                                            [EMAIL PROTECTED]
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah


_______________________________________________
Gcl-devel mailing list
Gcl-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/gcl-devel

Reply via email to