[#DefaultOnionServiceTarget]
= DefaultOnionServiceTarget
:mrdocs:

Build the default local target address for the onion service&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:CService.adoc[CService]
DefaultOnionServiceTarget(uint16&lowbar;t port);
----

== Return Value

The default local CService target for the onion service&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *port*
| Port to bind the onion service target to&period;
|===


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