[#Sock-operator_eq]
= xref:Sock.adoc[Sock]::operator&equals;&equals;
:relfileprefix: ../
:mrdocs:

Check if the internal socket is equal to `s`&period; Use only in tests&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
operator&equals;&equals;(xref:SOCKET.adoc[SOCKET] s) const;
----

== Return Value

true if the internal socket equals `s`, false otherwise&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *s*
| The raw socket descriptor to compare against&period;
|===


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