On Sat, Jan 12, 2002 at 01:42:07PM +0000, Nick Ing-Simmons wrote:
>
> Nick C will be delighted to hear that Win32 now passes 1/2 of socketpair
> tests. The infamous $! test #14 fails but should be fixable.
Hurrah. And Schwern has made Test::More distinguish between undef and '',
and do == tests. Now all I have to do is find a sensible job and my happiness
will be complete (1)
> Changed tests to "skip" the SOCK_DGRAM tests - not clear that winsock
> does UDP so cannot emulate it ...
Merijn found that the original hello world program did compile and
print hello world twice on Cygwin, so that suggests that windows does.
grep on the whole cygwin source code for DGRAM finds this
winsup/cygwin/include/cygwin/socket.h:#define SOCK_DGRAM 2 /* datagram (conn.less) socket */
winsup/w32api/include/lmwksta.h:#define WKSTA_NUMDGRAMBUF_PARMNUM 31
winsup/w32api/include/winsock.h:#define SOCK_DGRAM 2
winsup/w32api/include/winsock2.h:#define SOCK_DGRAM 2
(I have not attempted to compile Cygwin source code on a non-x86, non Windows
machine)
Nicholas Clark
1: Allegedly. There may well be a couple of other things.
--
ENOJOB http://www.ccl4.org/~nick/CV.html