Struct cdns_rs::a_sync::network::NetworkTap [−][src]
pub struct NetworkTap<T> { /* fields omitted */ }
Expand description
An instance of the socket/stream.
Trait Implementations
Connects to the remote host.
If timeout is not set, the socket is initialized in non blocking mode
and [PollFd] is created to use with poll(2)
.
If timeout is set, then the socket is initialized in blocking mode with
timeout. Tht [PollFd] is not generated! Read more
Tells if socket/stream is connected to remote host
Returns the remote host Ip and port.
Sends data over wire.
Receives data transmitted from remote host. In nonblocking mode it should be called only after the event was polled In blocking mode it will block until received or timeout. Read more
Connects to the remote host.
If timeout is not set, the socket is initialized in non blocking mode
and [PollFd] is created to use with poll(2)
.
If timeout is set, then the socket is initialized in blocking mode with
timeout. Tht [PollFd] is not generated! Read more
Tells if socket/stream is connected to remote host
Returns the remote host Ip and port.
Sends data over wire.
Receives data transmitted from remote host. In nonblocking mode it should be called only after the event was polled In blocking mode it will block until received or timeout. Read more