server/passTCP.cpp

Go to the documentation of this file.
00001 /* passTCP.cpp - passiveTCP */
00002 #include <windows.h>
00003 #include <winsock.h>
00004 
00005 SOCKET  passivesock(const char *, const char *, int);
00006 //IMPROVE: early definitions are bad
00007 
00008 /*------------------------------------------------------------------------
00009  * passiveTCP - create a passive socket for use in a TCP server
00010  *------------------------------------------------------------------------
00011  */
00012 SOCKET
00013 passiveTCP(const char *service, int qlen)
00014 {
00015         return passivesock(service, "tcp", qlen);
00016 }

Generated on Sat Apr 1 21:30:47 2006 for Motion Planning Kernel by  doxygen 1.4.6-NO