new_socket

Function new_socket 

Source
pub fn new_socket(name: &str, options: &Options) -> Box<dyn DcSctpSocket>
Expand description

Creates a new Socket.

The provided name is only used for logging to identify this socket.