diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-03-20 22:33:22 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-03-21 11:18:15 +0800 |
| commit | 45ca296a55332a4d79319f8a706f332aa8feb336 (patch) | |
| tree | 136a47b3bcd6701aac4a07ddcf0e4ebc32f180a3 /src/session.hpp | |
| parent | e970b786f9e5b9307c1113373b9c1f96eaafacf4 (diff) | |
feat(session): getIp
Diffstat (limited to 'src/session.hpp')
| -rw-r--r-- | src/session.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/session.hpp b/src/session.hpp index c4525bd..18c587d 100644 --- a/src/session.hpp +++ b/src/session.hpp @@ -22,6 +22,7 @@ class CSession { }; const std::string &getName() const; + const char *getIp() const; void setSelf(std::pair<std::jthread, std::shared_ptr<CSession>> *self); std::unique_ptr<SRecvData> read(); |
