MCPcopy Create free account
hub / github.com/dermesser/libsocket / inet_dgram_server

Method inet_dgram_server

C++/inetserverdgram.cpp:60–63  ·  view source on GitHub ↗

* @brief Create datagram socket and bind it. * * @param host Bind address (Wildcard: "0.0.0.0"/"::") * @param port Bind port * @param proto_osi3 `LIBSOCKET_IPv4` or `LIBSOCKET_IPv6` or `LIBSOCKET_BOTH` * @param flags Flags for `socket(2)` */

Source from the content-addressed store, hash-verified

58 * @param flags Flags for `socket(2)`
59 */
60inet_dgram_server::inet_dgram_server(const char* host, const char* port,
61 int proto_osi3, int flags) {
62 setup(host, port, proto_osi3, flags);
63}
64
65/**
66 * @brief Create datagram socket and bind it.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected