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

Class unix_stream_client

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

@addtogroup libsocketplusplus * @{ */ * @brief Provides an interface for working with UNIX STREAM sockets */

Source from the content-addressed store, hash-verified

47 * @brief Provides an interface for working with UNIX STREAM sockets
48 */
49class unix_stream_client : public unix_socket, public stream_client_socket {
50 public:
51 unix_stream_client(void);
52 unix_stream_client(const char* path, int socket_flags = 0);
53 unix_stream_client(const string& path, int socket_flags = 0);
54
55 void connect(const char* path, int socket_flags = 0);
56 void connect(const string& path, int socket_flags = 0);
57
58 friend class unix_stream_server; ///< unix_stream_server returns pointer to
59 ///< unix_stream_client objects when
60 ///< accepting connections.
61};
62/**
63 * @}
64 */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected