pub fn create_socktcp(address_family: &Service) -> Option<Box<Sock>>
Expand description

| Create a TCP socket in the given address | family. | | ———– | @param[in] address_family | | The socket is created in the same address | family as this address. | | ———– | @return | | pointer to the created Sock object or | unique_ptr that owns nothing in case | of failure |