* Creates a socket and binds it to the specified service. * * @param service The service. * @param family The address family for the socket. */
| 18 | * @param family The address family for the socket. |
| 19 | */ |
| 20 | void TcpSocket::Bind(const String& service, int family) |
| 21 | { |
| 22 | Bind(String(), service, family); |
| 23 | } |
| 24 | |
| 25 | /** |
| 26 | * Creates a socket and binds it to the specified node and service. |