mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
TCP: Log the remote port for client.
This commit is contained in:
parent
e01b98c91e
commit
81a7c252d6
14 changed files with 68 additions and 39 deletions
|
@ -640,6 +640,7 @@ extern std::string srs_get_local_ip(int fd);
|
|||
extern int srs_get_local_port(int fd);
|
||||
// Where peer ip is the client public ip which connected to server.
|
||||
extern std::string srs_get_peer_ip(int fd);
|
||||
extern int srs_get_peer_port(int fd);
|
||||
|
||||
// Whether string is boolean
|
||||
// is_bool("true") == true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue