21 lines
494 B
C
21 lines
494 B
C
|
// Copyright 1998, Ben Goetter. All rights reserved.
|
||
|
|
||
|
/*
|
||
|
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) ;
|
||
|
|