[#GetBindAddress]
= GetBindAddress
:mrdocs:

Get the bind address for a socket as CService&period;

== Synopsis

Declared in `&lt;netbase&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:CService.adoc[CService]
GetBindAddress(xref:Sock.adoc[Sock] const& sock);
----

== Return Value

The local address the socket is bound to&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *sock*
| The socket to query&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
