2#include <cosmos/error/RuntimeError.hxx> 
    3#include <cosmos/net/UnixClientSocket.hxx> 
    7UnixClientSocket::UnixClientSocket(
const SocketType type, 
const SocketFlags flags) :
 
    9        if (type != SocketType::STREAM && type != SocketType::SEQPACKET) {
 
   10                cosmos_throw(RuntimeError(
"invalid socket type for unix connection mode socket"));
 
SocketFamily
A socket's family setting.
@ UNIX
UNIX domain sockets.