Skip to content

Commit a8b66ed

Browse files
yesseecityclaude
andcommitted
chore: deprecate get_client_address in favour of get_client_address_str
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent d9cd2e7 commit a8b66ed

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

include/SocketUDP.hh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ public:
6262
ssize_t recv(void *pkt, size_t size, uint32_t timeout_ms);
6363

6464
/// \brief Get last client address and port (raw pointer, shared static buffer)
65+
[[deprecated("use get_client_address_str; raw variant returns pointer into shared static buffer")]]
6566
void get_client_address(const char *&ip_addr, uint16_t &port);
6667

6768
/// \brief Get last client address and port (copies address into std::string)

0 commit comments

Comments
 (0)