diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-04 09:05:51 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-04 09:05:51 (GMT) |
commit | 9d18f21a9b72dcd0b9d2bd5f29b80390560e1952 (patch) | |
tree | 65cab1f3b3d6a018af1926ded98137478d1bd3c1 /win/tclWinSock.c | |
parent | 2693c54806793a6cb5395149bdad83c3c9ade146 (diff) | |
parent | a81b482049e1a4a1892c10aaa66830f925d14b34 (diff) | |
download | tcl-9d18f21a9b72dcd0b9d2bd5f29b80390560e1952.zip tcl-9d18f21a9b72dcd0b9d2bd5f29b80390560e1952.tar.gz tcl-9d18f21a9b72dcd0b9d2bd5f29b80390560e1952.tar.bz2 |
[Bug 510001]: TclSockMinimumBuffers needs plat imp
Diffstat (limited to 'win/tclWinSock.c')
-rw-r--r-- | win/tclWinSock.c | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/win/tclWinSock.c b/win/tclWinSock.c index 2973db1..019d8e9 100644 --- a/win/tclWinSock.c +++ b/win/tclWinSock.c @@ -968,7 +968,7 @@ CreateSocket( * Set kernel space buffering */ - TclSockMinimumBuffers((int) sock, TCP_BUFFER_SIZE); + TclSockMinimumBuffers((void *)sock, TCP_BUFFER_SIZE); if (server) { /* @@ -1326,7 +1326,7 @@ Tcl_MakeTcpClientChannel( * Set kernel space buffering and non-blocking. */ - TclSockMinimumBuffers(PTR2INT(sock), TCP_BUFFER_SIZE); + TclSockMinimumBuffers(sock, TCP_BUFFER_SIZE); infoPtr = NewSocketInfo((SOCKET) sock); @@ -2479,12 +2479,8 @@ InitializeHostName( */ int -TclWinGetSockOpt( - SOCKET s, - int level, - int optname, - char * optval, - int FAR *optlen) +TclWinGetSockOpt(SOCKET s, int level, int optname, char *optval, + int *optlen) { /* * Check that WinSock is initialized; do not call it if not, to prevent @@ -2500,11 +2496,7 @@ TclWinGetSockOpt( } int -TclWinSetSockOpt( - SOCKET s, - int level, - int optname, - const char * optval, +TclWinSetSockOpt(SOCKET s, int level, int optname, const char *optval, int optlen) { /* |