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

Class inet_dgram_server

headers/inetserverdgram.hpp:49–61  ·  view source on GitHub ↗

@addtogroup libsocketplusplus * @{ */ * @brief Plain UDP sockets * * Although called `..._server`, this class may also be used as client (UDP is * symmetric). It has some special features, e.g. it's not possible to connect * it. */

Source from the content-addressed store, hash-verified

47 * it.
48 */
49class inet_dgram_server : public inet_dgram {
50 public:
51 inet_dgram_server(const char* host, const char* port, int proto_osi3,
52 int flags = 0);
53 inet_dgram_server(const string& host, const string& port, int proto_osi3,
54 int flags = 0);
55
56 private:
57 void setup(const char* host, const char* port, int proto_osi3,
58 int flags = 0);
59 void setup(const string& host, const string& port, int proto_osi3,
60 int flags = 0);
61};
62/**
63 * @}
64 */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected