aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/transport/udp_simple.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/transport/udp_simple.cpp')
-rw-r--r--host/lib/transport/udp_simple.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/host/lib/transport/udp_simple.cpp b/host/lib/transport/udp_simple.cpp
index 9fe285376..75862d1a9 100644
--- a/host/lib/transport/udp_simple.cpp
+++ b/host/lib/transport/udp_simple.cpp
@@ -64,6 +64,10 @@ public:
return _recv_endpoint.address().to_string();
}
+ std::string get_send_addr(void){
+ return _send_endpoint.address().to_string();
+ }
+
private:
bool _connected;
asio::io_service _io_service;