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
c8e29dba
Commit
c8e29dba
authored
Feb 26, 2012
by
Éric Araujo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mark up constants in socket doc as such
parent
576c6d7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
Doc/library/socket.rst
Doc/library/socket.rst
+7
-7
No files found.
Doc/library/socket.rst
View file @
c8e29dba
...
...
@@ -72,17 +72,17 @@ numeric address in *host* portion.
tuple, and the fields depend on the address type. The general tuple form is
``(addr_type, v1, v2, v3 [, scope])``, where:
- *addr_type* is one of
TIPC_ADDR_NAMESEQ, TIPC_ADDR_NAME, or
TIPC_ADDR_ID
.
- *scope* is one of
TIPC_ZONE_SCOPE, TIPC_CLUSTER_SCOPE, and
TIPC_NODE_SCOPE
.
- If *addr_type* is
TIPC_ADDR_NAME
, then *v1* is the server type, *v2* is
- *addr_type* is one of
:const;`TIPC_ADDR_NAMESEQ`, :const:`TIPC_ADDR_NAME`,
or :const:`TIPC_ADDR_ID`
.
- *scope* is one of
:const:`TIPC_ZONE_SCOPE`, :const:`TIPC_CLUSTER_SCOPE`,
and :const:`TIPC_NODE_SCOPE`
.
- If *addr_type* is
:const:`TIPC_ADDR_NAME`
, then *v1* is the server type, *v2* is
the port identifier, and *v3* should be 0.
If *addr_type* is
TIPC_ADDR_NAMESEQ
, then *v1* is the server type, *v2*
If *addr_type* is
:const:`TIPC_ADDR_NAMESEQ`
, then *v1* is the server type, *v2*
is the lower port number, and *v3* is the upper port number.
If *addr_type* is
TIPC_ADDR_ID
, then *v1* is the node, *v2* is the
If *addr_type* is
:const:`TIPC_ADDR_ID`
, then *v1* is the node, *v2* is the
reference, and *v3* should be set to 0.
...
...
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