Added net stuff, some fixes to gsock code for WinCE

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-07-12 17:58:22 +00:00
parent f35746ceed
commit 882dfc6753
6 changed files with 225 additions and 3 deletions

View File

@@ -0,0 +1,20 @@
// 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) ;