| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| | |
initialized winsock_2 library
|
| |
| |
| |
| | |
initialized winsock_2 library
|
|\ \ |
|
| | |
| | |
| | |
| | | |
where required (TcpCloseProc, SocketProc). Refactor socket/descriptor setup. Fix memory leak in socket close (TcpCloseProc) and related dangling pointers in SocketEventProc.
|
| | |
| | |
| | |
| | | |
connections. Fix conversion of host and port for passing to the accept
proc to be independent of the IP version.
|
| | | |
|
|/ / |
|
|\ \
| |/ |
|
| |
| |
| |
| |
| | |
extracted the name of the computer from the gethostname call so that
it would use the name on success, not failure. Also ensured that the
buffer size is exactly that recommended by Microsoft.
|
|\ \
| |/ |
|
| | |
|
| | |
|
| | |
|
| |
| |
| | |
code of getaddrinfo is used instead of errno unless it is EAI_SYSTEM.
|
|\ \
| |/
| |
| |
| |
| | |
table this is no longer necessary
implement TclpInetNtoa for win32
Let cygwin share stub table with win32
|
| |\
| | |
| | |
| | |
| | |
| | | |
table this is no longer necessary
implement TclpInetNtoa for win32
Let cygwin share stub table with win32
|
| | |
| | |
| | |
| | |
| | |
| | | |
table this is no longer necessary
implement TclpInetNtoa for win32
Let cygwin share stub table with win32
|
| | |
| | |
| | | |
(Refactor Win socket and load code to be less baroque in its internals)
|
| | |
| | |
| | | |
baroque in its internals.
|
|\ \ \
| |/ / |
|
| |\ \
| | |/ |
|
| | |\ |
|
| | |/
| | |
| | | |
it fills a correctly working stub entry for Win64
|
|\ \ \
| |/ /
| | |
| | | |
Implement TclWinGetTclInstance, TclpGetTZName,
and various others for Cygwin
|
| |\ \
| | |/
| | |
| | | |
Implement TclWinGetTclInstance, TclpGetTZName,
and various others for Cygwin
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
They were an attempt to make the cygwin port compile again, but since cygwin
is based on unix this serves no purpose any more.
Use EAGAIN in stead of EWOULDBLOCK, because in VS10+ the value of EWOULDBLOCK
is no longer the same as EAGAIN
Add tclWinError.c to the CYGWIN build.
|
| |\ \
| | |/ |
|
| |\ \
| | |/ |
|
| | | |
|
|\ \ \
| |/ / |
|
| | |
| | |
| | | |
Tcl_PosixError).
|
| | |
| | |
| | | |
rest of Tcl source code. No ABI change. API change *should* be harmless.
|
|\ \ \
| |/ /
| | | |
cause more harm than good. Purged them (except in zlib files).
|
| |\ \
| | |/
| | | |
more harm than good. Purged them.
|
| | |
| | |
| | | |
more harm than good. Purged them.
|
| | |
| | |
| | |
| | |
| | |
| | | |
and internal co-thread access of a socket's structure because of
the thread not using the socketListLock in TcpAccept(). Added
documentation on how the module works to the top.
|
| | |
| | |
| | |
| | | |
"late exit handlers" for similar late process-wide cleanups.
|
| | |
| | |
| | |
| | | |
(EOF).
|
| | |
| | |
| | |
| | | |
set hostname length appropriately, clean up check overall.
|
| | |
| | |
| | |
| | |
| | |
| | | |
[info hostname] value from the system encoding to Tcl's internal
encoding. This is important now that ICANN no longer limits host
names to ASCII. [Bug 1823552]
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* win/nmakehlp.c: MSVC8 and AMD64 target. Backport from 8.5
* win/rules.vc:
* generic/tcl.h: Fixed stat definition for MSVC8 AMD64.
* win/tclWinSock.c: Casting type police.
* win/tclWinTime.c:
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
TclpFinalizeSockets() and not over the thread-exit handler,
because the order of actions the Tcl generic core will
impose may result in cores/hangs if the thread exit handler
tears down socket subsystem too early (See Tcl Bug #1437595).
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclDecls.h: Regenerated from tcl.decls.
* generic/tclStubInit.c:
* doc/CrtChannel.3: Documentation of extended API,
* generic/tcl.decls: extended testsuite, and
* generic/tcl.h: implementation. Removal of old
* generic/tclIO.c: driver-specific TclpCut/Splice
* generic/tclInt.h: functions. Replaced with generic
* tests/io.test: thread-action calls through the
* unix/tclUnixChan.c: new hooks. Update of all builtin
* unix/tclUnixPipe.c: channel drivers to version 4.
* unix/tclUnixSock.c: Windows drivers extended to
* win/tclWinChan.c: manage thread state in a thread
* win/tclWinConsole.c: action handler.
* win/tclWinPipe.c:
* win/tclWinSerial.c:
* win/tclWinSock.c:
* mac/tclMacChan.c:
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
(SocketThreadExitHandler): Don't call TerminateThread when
WaitForSingleObject returns a timeout. Tcl_Finalize called from
DllMain will pause all threads. Trust that the thread will get
the close notice at a later time if it does ever wake up before
being cleaned up by the system anyway.
(SocketEventProc) : connect errors should fire both the readable
and writable handlers because this is how it works on UNIX
[Bug 794839]
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
asked for writable events by the generic layer.
(SocketEventProc): Generate a writable event too when a close is
detected.
Together the changes fix [Bug 599468].
|
| | |
| | |
| | |
| | |
| | |
| | | |
and internal co-thread access of a socket's structure because of
the thread not using the socketListLock in TcpAccept(). Added
documentation on how the module works to the top.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
backported from HEAD. Still
configure script not modified,
so CYGWIN build is still
disabled. Reason: although the
build succeeds with those changes,
many tests still fail.
|
| | |
| | |
| | |
| | | |
"late exit handlers" for similar late process-wide cleanups.
|
| | |
| | |
| | |
| | | |
(EOF).
|