summaryrefslogtreecommitdiff
path: root/include/sockets.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sockets.h')
-rw-r--r--include/sockets.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sockets.h b/include/sockets.h
index f49d6c3ff..89ca79dde 100644
--- a/include/sockets.h
+++ b/include/sockets.h
@@ -38,6 +38,10 @@ union CoreExport sockaddrs
*/
void clear();
+ /** Get address family.
+ */
+ int family() const;
+
/** Get the size of the sockaddr we represent
* @return The size
*/