[#Sock-operator_eq] = xref:Sock.adoc[Sock]::operator== :relfileprefix: ../ :mrdocs: Check if the internal socket is equal to `s`. Use only in tests. == Synopsis Declared in `<util/sock.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool operator==(xref:SOCKET.adoc[SOCKET] s) const; ---- == Return Value true if the internal socket equals `s`, false otherwise. == Parameters [cols="1,4"] |=== | Name| Description | *s* | The raw socket descriptor to compare against. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#