Chromium Code Reviews| Index: net/base/tcp_listen_socket.h |
| =================================================================== |
| --- net/base/tcp_listen_socket.h (revision 163266) |
| +++ net/base/tcp_listen_socket.h (working copy) |
| @@ -25,6 +25,8 @@ |
| // Get raw TCP socket descriptor bound to ip:port. |
| static SocketDescriptor CreateAndBind(const std::string& ip, int port); |
| + static int GetBindedPort(SocketDescriptor s); |
|
Mark Seaborn
2012/10/23 01:14:50
GetBoundPort()? This needs a comment to explain t
szym
2012/10/23 02:08:48
suggest: GetBoundPort.
I'd generally prefer if al
halyavin
2012/10/23 11:59:29
Done.
|
| + |
| protected: |
| friend class scoped_refptr<TCPListenSocket>; |