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
3021d79e
Commit
3021d79e
authored
Mar 08, 2001
by
Leigh B. Stoller
Browse files
Kill SO_RCVTIMEO for now cause of problem with 10000 HZ delay kernel.
Not really needed, so no big deal.
parent
9f692188
Changes
1
Hide whitespace changes
Inline
Side-by-side
tmcd/tmcc.c
View file @
3021d79e
...
...
@@ -87,14 +87,16 @@ main(int argc, char **argv)
close
(
sock
);
exit
(
1
);
}
#if 0
#ifndef linux
tv.tv_sec = 30;
tv.tv_usec = 0;
if (setsockopt(sock, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv)) < 0) {
perror
(
"setsockopt SO_
KEEPALIVE
"
);
perror("setsockopt SO_
RCVTIMEO
");
close(sock);
exit(1);
}
#endif
#endif
if
(
argc
==
2
)
n
=
snprintf
(
buf
,
sizeof
(
buf
)
-
1
,
"%s"
,
argv
[
1
]);
...
...
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