Tcl Source Code

Check-in [ebf745562a]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:windows: replace gethostbyname with getaddrinfo (gethostbyname can hang sporadically, closes [7cf7cce423]); corresponding to MS (https://docs.microsoft.com/en-us/windows/win32/api/winsock/nf-winsock-gethostbyname): Developers creating Windows Sockets 2 applications are urged to use the getaddrinfo function instead of gethostbyname
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | core-8-5-branch
Files: files | file ages | folders
SHA3-256: ebf745562a88e2e7f93fc307b4d3e8552b5496e990f34ce5a20acacf78451cf5
User & Date: sebres 2020-08-10 16:16:36.784
References
2020-08-10
16:18 • Closed ticket [7cf7cce423]: windows: `socket -async localhost $port` can hang sp... artifact: 6d44ee7ee7 user: sebres
Context
2020-08-10
16:16
create server socket with AI_PASSIVE flag (used for bind) check-in: 0a56896c40 user: sebres tags: core-8-5-branch
16:16
windows: replace gethostbyname with getaddrinfo (gethostbyname can hang sporadically, closes [7cf7cc... check-in: ebf745562a user: sebres tags: core-8-5-branch
2020-07-20
07:33
Backport changes in tcltest package from higher Tcl versions. Rename (internal, undocumented) tcltes... check-in: 640c33ec40 user: jan.nijtmans tags: core-8-5-branch
Changes
Unified Diff Side-by-Side Diff Patch
Changes to win/tclWinSock.c.