psp_net::socket

Module state

Source
Expand description

Socket states

psp-net sockets implement the Type State Pattern, and here are defined the different possible states of this crate’s sockets.

Note that not all sockets may implement all of these states.

Structs§

  • Socket is in a bound state
  • Socket is in a connected state
  • Socket is not ready to send or receive data
  • Socket is ready to send or receive data
  • Socket is in an unbound state

Traits§