summaryrefslogtreecommitdiff
path: root/src/socket_base.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/socket_base.cpp')
-rw-r--r--src/socket_base.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/socket_base.cpp b/src/socket_base.cpp
index 39881d5..3e57c28 100644
--- a/src/socket_base.cpp
+++ b/src/socket_base.cpp
@@ -933,3 +933,7 @@ int xs::socket_base_t::sndtimeo ()
return options.sndtimeo;
}
+uint64_t xs::socket_base_t::now_ms ()
+{
+ return clock.now_ms ();
+}