summaryrefslogtreecommitdiffstats
path: root/win/tclWinSock.c
Commit message (Collapse)AuthorAgeFilesLines
* Corrections to earlier TIP 27 changes.dgp2002-01-241-2/+2
| | | | Thanks to Andreas Kupries for the feedback.
* * Updated socket interfaces according to TIP 27. Updated callers.dgp2002-01-231-11/+11
|
* * Updated APIs in the file generic/tclIO.c according to the guidelinesdgp2002-01-151-5/+5
| | | | | | | | | | | of TIP 27. Several minor documentation corrections as well. * Updated channel driver interface according to the guidelines of TIP 27. See also [Bug 500348]. * Moved Tcl_EolTranslation enum declaration from generic/tcl.h to generic/tclInt.h (renamed to TclEolTranslation). It is not used anywhere in Tcl's public interface.
* * win/tclWinSock.c (TcpGetOptionProc): Fix for tcl bug itemandreas_kupries2001-12-131-7/+16
| | | | | | #478565 reported by an unknown person. Bypasses all calls to "gethostbyaddr" for address "0.0.0.0" to prevent delays on Win/NT.
* win/tclWinSock.c (SocketThread): corrected pointer cast for _WIN64.hobbs2001-09-201-2/+2
|
* * win/tclWinSock.c (SocketEventProc): Fixed race condition inhobbs2001-03-311-2/+2
| | | | | readability of socket on Windows. [Patch #410674, Bug #219205 #219333]
* up-port of the stacked channel implementation rewrite in 8.3.2 tohobbs2000-09-281-11/+15
| | | | 8.4a2 code base, merged in with some existing new 8.4a2 features.
* * win/tclWin32Dll.c:hobbs1999-12-091-31/+16
| | | | | | | | | | | | | | | * win/tclWinChan.c: * win/tclWinFCmd.c: * win/tclWinInit.c: * win/tclWinPipe.c: * win/tclWinSock.c: removed all code that supported Win32s. It was no longer officially supported, and likely didn't work anyway. * win/makefile.vc: removed 16 bit stuff, cleaned up. * win/tcl16.rc: * win/tclWin16.c: * win/winDumpExts.c: these files have been removed from the source tree (no longer necessary to build) * win/aclocal.m4: made it just include tcl.m4
* * win/tclWinSock.c: Added comment block to SocketThread()redman1999-08-011-8/+27
| | | | | | function. Added code to avoid calling TerminateThread(), but instead to send a message to the socket event window to tell it to terminate its thread.
* * win/tclWinPipe.c:redman1999-07-311-3/+4
| | | | | | | | | | * win/Makefile.in: Fixing launching of 16-bit apps on Win9x from wish. The command line was primed with tclpip82.dll, but it was ignored. Fixed that, then fixed the gmake makefile to build tclpip82.dll as an executable. * win/tclWinSock.c: Applied small patch to get thread-specific data after initializing the socket driver.
* win/tclWinSock.c: free Win32 Event handles when destroying socketredman1999-07-291-1/+6
| | | | helper threads.
* Bug fixes for threaded Tcl on NT with single and dual CPUs. Still someredman1999-07-271-1/+10
| | | | open issues, this code is a little more stable though.
* Fix hange with socket code (win32) with threads enabled, fixedredman1999-07-221-14/+26
| | | | | the semaphores for threads disabled. Fixed calling of tcltest in Makefile.in (win32) and fixed safe-6.3 for threads enabled.
* * win/tclWinSock.c: Modified 8.1.0 version of the Win32 socketredman1999-07-211-2279/+2421
| | | | | | | | | driver to move the handling of the socket event window in a separate thread. It also turned out that Win95 & Win98 were, in some cases, getting multiple FD_ACCEPTs but only handling one. Added a count for the FD_ACCEPT to take care of this. Tested on NT4 SP3, NT4 SP4, Win95, and Win98. [Bug: 2178 2256 2259 2329 2323 2355]
* * win/tclWinSock.c: Rolled back to the 8.1.0 implementationstanton1999-06-081-2674/+2279
| | | | | | because of serious problems with the new driver. Basically no incoming socket connections would be reported to a server port. The 8.1.1 code needs to be redesigned and fixed correctly.
* generic/tclThreadTest.c: Fix race condition in testthread code.redman1999-05-261-10/+21
| | | | | | win/tclWinSock.c: Fixed hang in WinNT socket driver, now wakes up the socket thread to check for events that didn't trigger the WSAEvent.
* Improved socket driver, use WSAEventSelect on NTredman1999-04-221-122/+506
|
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-276/+395
|
* * Merge 8.0.5 changes:stanton1999-04-151-1/+9
| | | | | | | | | - Mac changes for final release - Minor fixes to tools configure file * win/tclWinSock.c: Apply patch to allow write access to a socket if FD_WRITE is sent but FD_CONNECT is not. Some strange problem with either Win32 or a socket driver. [Bug: 1664 1776]
* Merged stubs changes into mainline for 8.0stanton1999-03-101-7/+7
|
* * unix/tclUnixChan.c:stanton1999-02-031-3/+21
| | | | | | | * win/tclWinSock.c: * doc/socket.n: Applied Gordon Chaffee's patch to handle failures during asynchronous socket connection operations. This adds a new "-error" fconfgure option to socket channels. [Bug: 893]
* * tclWinSock.c (CreateSocket, TcpAccept): Windows NT createsstanton1998-12-041-1/+15
| | | | | sockets so they are inheritable by default. Turn off this bit so sockets aren't kept open by exec'ed processes. [Bug: 892]
* Replaced SCCS strings, fixed binary filescore_8_0_3stanton1998-09-141-1/+1
|
* fixed bug in socket code: use of FIONREAD is not supported on Windowsstanton1998-05-271-93/+100
| | | | changed to completely drain the socket window before checking any state
* Initial revisionrjohnson1998-03-261-0/+2113