summaryrefslogtreecommitdiffstats
path: root/win/tclWinSock.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-04 09:54:04 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-04 09:54:04 (GMT)
commit2b95a64188c3a52fd7cfdb0641558bed9e222818 (patch)
treee44f96316e91a4399fbeac746ffe40fd96597380 /win/tclWinSock.c
parent40f9804e9111ac321ba54c04dd7650c3fe8222d2 (diff)
parent10d62422b2a9cd29828f3d750f8253076ba0cf3f (diff)
downloadtcl-2b95a64188c3a52fd7cfdb0641558bed9e222818.zip
tcl-2b95a64188c3a52fd7cfdb0641558bed9e222818.tar.gz
tcl-2b95a64188c3a52fd7cfdb0641558bed9e222818.tar.bz2
[Bug 510001]: TclSockMinimumBuffers needs plat imp
Diffstat (limited to 'win/tclWinSock.c')
-rw-r--r--win/tclWinSock.c20
1 files changed, 6 insertions, 14 deletions
diff --git a/win/tclWinSock.c b/win/tclWinSock.c
index 74c7245..cbaedcb 100644
--- a/win/tclWinSock.c
+++ b/win/tclWinSock.c
@@ -1056,7 +1056,7 @@ CreateSocket(
* Set kernel space buffering
*/
- TclSockMinimumBuffers((ClientData)sock, TCP_BUFFER_SIZE);
+ TclSockMinimumBuffers((void *)sock, TCP_BUFFER_SIZE);
/*
* Make sure we use the same port when opening two server sockets
@@ -1165,7 +1165,7 @@ CreateSocket(
* Set kernel space buffering
*/
- TclSockMinimumBuffers((ClientData)sock, TCP_BUFFER_SIZE);
+ TclSockMinimumBuffers((void *)sock, TCP_BUFFER_SIZE);
/*
* Try to bind to a local port.
@@ -1501,7 +1501,7 @@ Tcl_MakeTcpClientChannel(
* Set kernel space buffering and non-blocking.
*/
- TclSockMinimumBuffers((ClientData) sock, TCP_BUFFER_SIZE);
+ TclSockMinimumBuffers(sock, TCP_BUFFER_SIZE);
infoPtr = NewSocketInfo((SOCKET) sock);
@@ -2673,12 +2673,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
@@ -2694,11 +2690,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)
{
/*