summaryrefslogtreecommitdiffstats
path: root/win/tclWinSock.c
Commit message (Collapse)AuthorAgeFilesLines
* * 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