bnicholes 01/08/09 16:28:38
Modified: network_io/win32 sockets.c
Log:
Added a call to socket() in apr_socket_create() that is not hard coded to TCP
Revision Changes Path
1.65 +4 -0 apr/network_io/win32/sockets.c
Index: sockets.c
===================================================================
RCS file: /home/cvs/apr/network_io/win32/sockets.c,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -r1.64 -r1.65
--- sockets.c 2001/08/06 20:47:11 1.64
+++ sockets.c 2001/08/09 23:28:38 1.65
@@ -139,10 +139,14 @@
return APR_ENOMEM;
}
+#ifdef NETWARE
+ (*new)->sock = socket(family, type, 0);
+#else
/* For right now, we are not using socket groups. We may later.
* No flags to use when creating a socket, so use 0 for that parameter
as well.
*/
(*new)->sock = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
+#endif
#if APR_HAVE_IPV6
if ((*new)->sock == INVALID_SOCKET && ofamily == AF_UNSPEC) {
family = AF_INET;