[#Sock-HashSharedPtrSock-operator_call] = xref:Sock.adoc[Sock]::xref:Sock/HashSharedPtrSock.adoc[HashSharedPtrSock]::operator() :relfileprefix: ../../ :mrdocs: Hash the wrapped socket descriptor. == Synopsis Declared in `<util/sock.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- size_t operator()(std::shared_ptr<Sock const> const& s) const; ---- == Return Value The socket descriptor, or the maximum `SOCKET` value if `s` is empty. == Parameters [cols="1,4"] |=== | Name| Description | *s* | The socket to hash (may be empty). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#