| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
In file included from ./generic/itcl2TclOO.c:12:0:
/Tcl/include/tclInt.h:3012:8: warning: ‘struct addrinfo’ declared inside parameter list [enabled by default]
const char **errorMsgPtr);
^
|
| |
|
|
|
|
|
| |
TcpGetOptionProc() to TcpHostPortList(). Make it robust against
implementations of getnameinfo() that error out if reverse mapping
fails instead of falling back to the numeric representation.
|
| |
|
| |
|
|
|
| |
code of getaddrinfo is used instead of errno unless it is EAI_SYSTEM.
|
|
|
| |
with an unsupported address family leaves one behind.
|
|\ |
|
| | |
|
| |
| |
| |
| |
| | |
socket() instead of only using ai_family.
* Try to keep the most meaningful error while iterating over the result list, because using the last error can be misleading.
|
| |
| |
| |
| | |
client socket in progress, and commit them on completion.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
the writable fileevent at the end of an asynchronous connection attempt. Improve comments for some of the trickery around [socket -async]. [Bug 3325339]
* tests/socket.test: Adjust tests to the async code changes. Add more tests for corner cases of async sockets.
|
| |
| |
| |
| |
| |
| | |
[socket -async]
* unix/tclUnixSock.c: Set up the file handler for async sockets to fire on exceptions in addition to writable state.
* tests/socket.test: Improve error reporting when socket-14.2 times out.
|
| |
| |
| |
| |
| | |
server sockets by putting an instance of TcpFdList into TcpState
instead of just a pointer. Now only server sockets that listen on
multiple addresses need the linked list of file descriptors.
|
| |
| |
| |
| | |
connection had succeeded or failed.
|
| |
| |
| |
| |
| |
| |
| | |
and NetBSD.
* Unify channel name creation.
* Prevent error messages from appearing twice.
* Double the measured latency in socket.test to be on the safe side.
|
| |
| |
| |
| |
| | |
use that for some of the tests instead of fixed "big enough" times.
* Improve correctness of [socket -async] in some error cases.
|
| |
| |
| |
| | |
* Cache async socket errors for later use by [fconfigure -error]
* Add tests for the above
|
| | |
|
| |
| |
| |
| |
| | |
here, as the generic server code already takes care of that.
* tests/socket.test (accept): Add tests to make sure that this remains so.
|
| |
| |
| | |
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.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
See Tcl Bug 999544 for more information.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* unix/tclUnixSock.c (CreateClientSocket): local and remote
addresses, so that the system's address preference for the remote
side decides which family gets tried first. Cleanup and clarify
some of the comments.
|
| | |
| | |
| | |
| | | |
TclWin(Get|Set)SockOpt to SOCKET, because on Win64 those are 64-bit, which does not fit.
|
| | |
| | |
| | |
| | | |
crash some systems. Thanks Larry Virden. [Bug 3093120]
|
| | |
| | |
| | |
| | | |
* win/tclWinSock.c (TcpGetOptionProc): NULL (a legal situation).
|
| | | |
|
| | |
| | |
| | |
| | | |
refactor the calls to freeaddrinfo() [Bug #3084338].
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
[fconfiguyre] commands.
* generic/tclInt.h: Introduce TclCreateSocketAddress() as a
* generic/tclIOSock.c: replacement for the platform-dependent
* unix/tclUnixSock.c: TclpCreateSocketAddress() functions.
* unix/tclUnixChan.c: Extend the [socket] and [fconfigure]
* unix/tclUnixPort.h: commands to behave as proposed in
* win/tclWinSock.c: TIP #162.
* win/tclWinPort.h:
* compat/fake-rfc2553.c: A compat implementation of the APIs
* compat/fake-rfc2553.h: defined in RFC-2553 (getaddrinfo() and
friends) on top of the existing
gethostbyname() etc.
* unix/configure.in: Test whether the fake-implementation is
* unix/tcl.m4: needed.
* unix/Makefile.in: Add a compile target for fake-rfc2553.
* win/configure.in: Allow cross-compilation by default
* tests/socket.test: Improve the test suite to make more use of
* tests/remote.tcl: randomized ports to reduce interference with
tests running in parallel or other services
on the machine.
|
| | |
| | |
| | |
| | | |
possible
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
calling [fconfigure -sockname] on an universally-bound (default)
server socket.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* win/tclWinReg.c PDWORD_PTR
* win/tclWinThrd.c: Fix various minor gcc warnings.
* win/tclWinTime.c
* win/tclWinConsole.c Put channel type definitions
* win/tclWinChan.c in static const memory
* win/tclWinPipe.c
* win/tclWinSerial.c
* win/tclWinSock.c
* generic/tclIOGT.c
* generic/tclIORChan.c
* generic/tclIORTrans.c
* unix/tclUnixChan.c
* unix/tclUnixPipe.c
* unix/tclUnixSock.c
* unix/configure (regenerated with autoconf 2.59)
* tests/info.test: Make test independant from
tcltest implementation.
|
| | |
| | |
| | |
| | |
| | | |
* unix/tclUnixChan.c: to tclUnixSock.c.
* unix/tclUnixSock.c:
|
|/ / |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|