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
b016752d
Commit
b016752d
authored
Apr 25, 2003
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a copy-paste error: the paragraph about inet_ntop's use was copied
literally from inet_pton.
parent
bf7ad96d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Doc/lib/libsocket.tex
Doc/lib/libsocket.tex
+2
-2
No files found.
Doc/lib/libsocket.tex
View file @
b016752d
...
...
@@ -381,8 +381,8 @@ standard, family-specific string representation (for example, '7.10.0.5' or
Supported values for address
_
family are currently
\constant
{
AF
_
INET
}
and
\constant
{
AF
_
INET6
}
.
\function
{
inet
_
pton()
}
is useful when a library or network protocol calls for
an object of type
\ctype
{
struct in
_
addr
}
(similar to
\function
{
inet
_
aton
()
}
)
\function
{
inet
_
ntop()
}
is useful when a library or network protocol returns
an object of type
\ctype
{
struct in
_
addr
}
(similar to
\function
{
inet
_
ntoa
()
}
)
or
\ctype
{
struct in6
_
addr
}
.
If the string passed to this function is not the correct length for the
...
...
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