diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2014-04-16 09:44:12 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2014-04-16 09:44:12 (GMT) |
commit | fcca5df8d6fb5bfd7dd4b6d10dbef115565ddc3f (patch) | |
tree | a8378e57b9eeb9e337a290adaf5a181c090624fc /win/tclWinPort.h | |
parent | 5b2fb226337c9700f2e12762dcfad77bdded8314 (diff) | |
parent | 7284ed46fb1ee885dfde86495027dd9be690a8bf (diff) | |
download | tcl-fcca5df8d6fb5bfd7dd4b6d10dbef115565ddc3f.zip tcl-fcca5df8d6fb5bfd7dd4b6d10dbef115565ddc3f.tar.gz tcl-fcca5df8d6fb5bfd7dd4b6d10dbef115565ddc3f.tar.bz2 |
Upgrade from Winsock 1.1 to Winsock 2.2, which is always available on Win2000+. See: [http://msdn.microsoft.com/en-us/library/windows/desktop/ms742213%28v=vs.85%29.aspx] for details.
Move winsock initialization to TclpInitPlatform(void), so we can be sure everywhere that we have an initialized winsock2.
Stub entries for TclWinGetServByName/TclWinGetSockOpt/TclWinSetSockOpt are no longer necessary (will be removed in 9.0, but are kept in 8.x)
Diffstat (limited to 'win/tclWinPort.h')
-rw-r--r-- | win/tclWinPort.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/win/tclWinPort.h b/win/tclWinPort.h index 61f149b..652cd06 100644 --- a/win/tclWinPort.h +++ b/win/tclWinPort.h @@ -528,15 +528,6 @@ typedef DWORD_PTR * PDWORD_PTR; #define TclpSysRealloc(ptr, size) ((void*)HeapReAlloc(GetProcessHeap(), \ (DWORD)0, (LPVOID)ptr, (DWORD)size)) -/* - * The following defines map from standard socket names to our internal - * wrappers that redirect through the winSock function table (see the - * file tclWinSock.c). - */ - -#define getservbyname TclWinGetServByName -#define getsockopt TclWinGetSockOpt -#define setsockopt TclWinSetSockOpt /* This type is not defined in the Windows headers */ #define socklen_t int |