mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-06 09:50:28 +00:00
Fix typo in GetRemoteAddr documentation
This commit is contained in:
parent
53eade50ca
commit
2a4ff615b9
1 changed files with 1 additions and 1 deletions
|
@ -584,7 +584,7 @@ FUNCTIONS
|
||||||
Returns client ip4 address and port, e.g. 0x01020304,31337 would
|
Returns client ip4 address and port, e.g. 0x01020304,31337 would
|
||||||
represent 1.2.3.4:31337. This is the same as GetClientAddr except
|
represent 1.2.3.4:31337. This is the same as GetClientAddr except
|
||||||
it will use the ip:port from the X-Forwarded-For header, only if
|
it will use the ip:port from the X-Forwarded-For header, only if
|
||||||
it IsPrivateIp or IsPrivateIp.
|
IsPrivateIp or IsLoopbackIp return true.
|
||||||
|
|
||||||
GetClientAddr() → ip:uint32,port:uint16
|
GetClientAddr() → ip:uint32,port:uint16
|
||||||
Returns client socket ip4 address and port, e.g. 0x01020304,31337
|
Returns client socket ip4 address and port, e.g. 0x01020304,31337
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue