| Index: net/base/tcp_listen_socket.h
|
| ===================================================================
|
| --- net/base/tcp_listen_socket.h (revision 170891)
|
| +++ net/base/tcp_listen_socket.h (working copy)
|
| @@ -25,6 +25,10 @@
|
| // Get raw TCP socket descriptor bound to ip:port.
|
| static SocketDescriptor CreateAndBind(const std::string& ip, int port);
|
|
|
| + // Get raw TCP socket descriptor bound to ip and return port it is bound to.
|
| + static SocketDescriptor CreateAndBindAnyPort(const std::string& ip,
|
| + int* port);
|
| +
|
| protected:
|
| friend class scoped_refptr<TCPListenSocket>;
|
|
|
|
|