Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / native_client / src / trusted / debug_stub / transport.h
index e4357d9..fb7b00e 100644 (file)
@@ -49,6 +49,9 @@ class SocketBinding {
   // Accept a connection on an already-bound TCP port.
   ITransport *AcceptConnection();
 
+  // Get port the socket is bound to.
+  uint16_t GetBoundPort();
+
  private:
   NaClSocketHandle socket_handle_;
 };