pub fn new_registration_socket() -> Result<Socket, MeshSimError> {
        Socket::new(Domain::ipv6(), Type::stream(), Some(Protocol::tcp())).map_err(|e| {
            let err_msg = String::from("Failed to create new socket");
            MeshSimError {
                kind: MeshSimErrorKind::Networking(err_msg),
                cause: Some(Box::new(e)),
            }
        })
    }
/// Creates a new socket for the Master/worker registration
Creates a new socket for the Master/worker registration
Creates a new socket for the Master / worker registration
pub fn new_registration_socket() -> Result<Socket, MeshSimError> {
        Socket::new(Domain::ipv6(), Type::stream(), Some(Protocol::tcp())).map_err(|e| {
            let err_msg = String::from("Failed to create new socket");
            MeshSimError {
                kind: MeshSimErrorKind::Networking(err_msg),
                cause: Some(Box::new(e)),
            }
        })
    }
pub fn new_registration_socket ( ) -> Result < Socket , MeshSimError > { Socket :: new ( Domain :: ipv6 ( ) , Type :: stream ( ) , Some ( Protocol :: tcp ( ) ) ) . map_err ( | e | { let err_msg = String :: from ( " " ) ; MeshSimError { kind : MeshSimErrorKind :: Networking ( err_msg ) , cause : Some ( Box :: new ( e ) ) , } } ) }
Creates a new socket for the Master/worker registration
Creates a new socket for the Master / worker registration