diff options
author | sebres <sebres@users.sourceforge.net> | 2020-08-10 16:16:46 (GMT) |
---|---|---|
committer | sebres <sebres@users.sourceforge.net> | 2020-08-10 16:16:46 (GMT) |
commit | f397a9ac9d2bc4a067fdc01f1e08188db53f5f93 (patch) | |
tree | 06c1b99234d6f26a4a7820f47deb36e71bb1fbe9 | |
parent | 3cd49200d7d04605090a8dbaba57a127b785ceb5 (diff) | |
download | tcl-f397a9ac9d2bc4a067fdc01f1e08188db53f5f93.zip tcl-f397a9ac9d2bc4a067fdc01f1e08188db53f5f93.tar.gz tcl-f397a9ac9d2bc4a067fdc01f1e08188db53f5f93.tar.bz2 |
create server socket with AI_PASSIVE flag (used for bind)
-rw-r--r-- | unix/tclUnixChan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tclUnixChan.c b/unix/tclUnixChan.c index d3207e2..39bb64f 100644 --- a/unix/tclUnixChan.c +++ b/unix/tclUnixChan.c @@ -2378,7 +2378,7 @@ CreateSocket( const char *errorMsg = NULL; sock = -1; - if (!CreateSocketAddress(&sockaddr, host, port, 0, &errorMsg)) { + if (!CreateSocketAddress(&sockaddr, host, port, server, &errorMsg)) { goto addressError; } if ((myaddr != NULL || myport != 0) && |