2009-03-10 11:35:24 +00:00
|
|
|
// Copyright 1998, Ben Goetter. All rights reserved.
|
2009-07-12 04:56:57 +00:00
|
|
|
// Also released under wxWindows license - see src/msw/wince/net.cpp
|
2009-03-10 11:35:24 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
patch holes in winsock
|
|
|
|
|
|
|
|
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) ;
|
|
|
|
|