1 #ifndef __WVSOCKETPAIR_H
2 #define __WVSOCKETPAIR_H
5 #include <sys/socket.h>
9 * Like socketpair(), but works in win32 and doesn't ask you about the
10 * protocol (since that's irrelevant, really). 'type' is like the type
11 * parameter to socketpair(), and should be either SOCK_DGRAM or SOCK_STREAM.
13 * The return value and errno codes are the same as for socketpair().
15 int wvsocketpair(int type
, int socks
[2]);
17 #endif // __WVSOCKETPAIR_H