[#Sock-SendComplete-03]
= xref:Sock.adoc[Sock]::SendComplete
:relfileprefix: ../
:mrdocs:

Convenience method, equivalent to `SendComplete(MakeUCharSpan(data), timeout, interrupt)`&period;

== Synopsis

Declared in `&lt;util&sol;sock&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
void
SendComplete(
    std::span&lt;char const&gt; data,
    std::chrono::milliseconds timeout,
    xref:CThreadInterrupt.adoc[CThreadInterrupt]& interrupt) const;
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *data* [in]
| Data to send&period;
| *timeout* [in]
| Timeout for the entire operation&period;
| *interrupt* [in]
| If this is signaled then the operation is canceled&period;
|===


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