Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
3cde2cb7
Commit
3cde2cb7
authored
Dec 22, 2001
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add TCP socket options from glibc 2.2.4. Fixes #495680.
2.2.1 bugfix candidate.
parent
83a3f0c3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
0 deletions
+31
-0
Modules/socketmodule.c
Modules/socketmodule.c
+31
-0
No files found.
Modules/socketmodule.c
View file @
3cde2cb7
...
...
@@ -3621,6 +3621,37 @@ init_socket(void)
#ifdef TCP_MAXSEG
insint
(
d
,
"TCP_MAXSEG"
,
TCP_MAXSEG
);
#endif
#ifdef TCP_CORK
insint
(
d
,
"TCP_CORK"
,
TCP_CORK
);
#endif
#ifdef TCP_KEEPIDLE
insint
(
d
,
"TCP_KEEPIDLE"
,
TCP_KEEPIDLE
);
#endif
#ifdef TCP_KEEPINTVL
insint
(
d
,
"TCP_KEEPINTVL"
,
TCP_KEEPINTVL
);
#endif
#ifdef TCP_KEEPCNT
insint
(
d
,
"TCP_KEEPCNT"
,
TCP_KEEPCNT
);
#endif
#ifdef TCP_SYNCNT
insint
(
d
,
"TCP_SYNCNT"
,
TCP_SYNCNT
);
#endif
#ifdef TCP_LINGER2
insint
(
d
,
"TCP_LINGER2"
,
TCP_LINGER2
);
#endif
#ifdef TCP_DEFER_ACCEPT
insint
(
d
,
"TCP_DEFER_ACCEPT"
,
TCP_DEFER_ACCEPT
);
#endif
#ifdef TCP_WINDOW_CLAMP
insint
(
d
,
"TCP_WINDOW_CLAMP"
,
TCP_WINDOW_CLAMP
);
#endif
#ifdef TCP_INFO
insint
(
d
,
"TCP_INFO"
,
TCP_INFO
);
#endif
#ifdef TCP_QUICKACK
insint
(
d
,
"TCP_QUICKACK"
,
TCP_QUICKACK
);
#endif
/* IPX options */
#ifdef IPX_TYPE
...
...
Write
Preview
Markdown
is supported
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