MCPcopy Create free account
hub / github.com/Icinga/icinga2 / Bind

Method Bind

lib/base/tcpsocket.cpp:20–23  ·  view source on GitHub ↗

* Creates a socket and binds it to the specified service. * * @param service The service. * @param family The address family for the socket. */

Source from the content-addressed store, hash-verified

18 * @param family The address family for the socket.
19 */
20void 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.

Callers 1

StartMethod · 0.45

Calls 5

LogClass · 0.85
socket_errorClass · 0.85
CStrMethod · 0.80
StringClass · 0.70
IsEmptyMethod · 0.45

Tested by

no test coverage detected