Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
11bae5b7
Commit
11bae5b7
authored
Jan 30, 2003
by
Leigh B. Stoller
Browse files
Bump listen() count to max. Its not likely that these are building up,
but lets not take the chance.
parent
2908473f
Changes
1
Hide whitespace changes
Inline
Side-by-side
tmcd/tmcd.c
View file @
11bae5b7
...
...
@@ -459,7 +459,7 @@ makesockets(int portnum, int *udpsockp, int *tcpsockp)
if
(
getsockname
(
tcpsock
,
(
struct
sockaddr
*
)
&
name
,
&
length
))
{
pfatal
(
"getsockname"
);
}
if
(
listen
(
tcpsock
,
20
)
<
0
)
{
if
(
listen
(
tcpsock
,
128
)
<
0
)
{
pfatal
(
"listen"
);
}
info
(
"listening on TCP port %d
\n
"
,
ntohs
(
name
.
sin_port
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment