SteamNetworkingIPAddr.ToString

Print to a string, with or without the port. Mapped IPv4 addresses are printed as dotted decimal (12.34.56.78), otherwise this will print the canonical form according to RFC5952. If you include the port, IPv6 will be surrounded by brackets, e.g. [::1:2]:80. Your buffer should be at least k_cchMaxString bytes to avoid truncation

See also SteamNetworkingIdentityRender

struct SteamNetworkingIPAddr
const
void
ToString
(
char* buf
,
size_t cbBuf
,)

Meta