sockaddr_to_string3

March 26, 2020 Contributors

Name

sockaddr_to_string3 — Renders a socket address into a human readable form

Synopsis

#include "netlistener.h"

| int **sockaddr_to_string3** ( | s, |   |
|   | str); |   |

struct sockaddr * <var class="pdparam">s</var>;
string * <var class="pdparam">str</var>;

Description

Note

This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.

Renders a socket address into a human readable form.

Parameters

s

the socket address

str

the buffer into which to render.

Renders the address into the provided buffer. buffer must not be NULL.

Return Values

Returns the length of the rendered address.

**Configuration Change. ** This feature is available starting from Momentum 3.0.9.

See Also

sockaddr_to_string2