2003-07-12 13:58:22 -04:00
|
|
|
// Copyright 1998, Ben Goetter. All rights reserved.
|
|
|
|
|
|
|
|
/*
|
2004-09-08 02:41:06 -04:00
|
|
|
patch holes in winsock
|
2003-07-12 13:58:22 -04:00
|
|
|
|
|
|
|
WCE 2.0 lacks many of the 'database' winsock routines.
|
|
|
|
Stub just enough them for ss.dll.
|
|
|
|
|
|
|
|
getprotobynumber
|
|
|
|
getservbyport
|
|
|
|
getservbyname
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
struct servent * WINSOCKAPI getservbyport(int port, const char * proto) ;
|
|
|
|
|
|
|
|
struct servent * WINSOCKAPI getservbyname(const char * name,
|
|
|
|
const char * proto) ;
|
|
|
|
struct protoent * WINSOCKAPI getprotobynumber(int proto) ;
|
|
|
|
|