socket2
  • API Reference
    • Modules
  • Socket
    • Summary
    • Types
      • t/0
    • Functions
      • accept/1
      • accept/2
      • accept!/1
      • accept!/2
      • active/1
      • active/2
      • active!/1
      • active!/2
      • close/1
      • close!/1
      • connect/1
      • connect!/1
      • equal?/2
      • listen/1
      • listen!/1
      • local/1
      • local!/1
      • options/2
      • options!/2
      • packet/2
      • packet!/2
      • passive/1
      • passive!/1
      • process/2
      • process!/2
      • remote/1
      • remote!/1
  • Socket.Address
    • Summary
    • Types
      • t/0
    • Functions
      • for/2
      • for!/2
      • is_in_subnet?/3
      • parse/1
      • to_string/1
      • valid?/1
  • Socket.Datagram
    • Summary
    • Types
      • t/0
    • Functions
      • recv/1
      • recv/2
      • recv/3
      • recv!/1
      • recv!/2
      • recv!/3
      • send/3
      • send!/3
  • Socket.Datagram.Protocol
    • Summary
    • Types
      • t/0
    • Functions
      • recv/1
      • recv/2
      • recv/3
      • send/3
  • Socket.Helpers
    • Summary
    • Functions
      • defbang/1
      • defbang/2
      • definvalid/1
      • defwrap/2
  • Socket.Host
    • Summary
    • Types
      • t/0
    • Functions
      • by_address/1
      • by_address!/1
      • by_name/1
      • by_name/2
      • by_name!/1
      • by_name!/2
      • interfaces/0
      • interfaces!/0
      • name/0
  • Socket.Port
    • Sections
      • Options
      • Examples
    • Summary
    • Types
      • t/0
    • Functions
      • arguments/1
      • error/1
      • open/1
      • open/2
      • open!/1
      • open!/2
  • Socket.Protocol
    • Summary
    • Types
      • t/0
    • Functions
      • accept/2
      • active/1
      • active/2
      • close/1
      • equal?/2
      • local/1
      • options/2
      • packet/2
      • passive/1
      • process/2
      • remote/1
  • Socket.SOCKS
    • Summary
    • Functions
      • connect/3
      • connect!/2
      • connect!/3
  • Socket.SSL
    • Sections
      • Options
      • Smart garbage collection
    • Summary
    • Types
      • error/0
      • t/0
    • Functions
      • accept/1
      • accept/2
      • accept!/1
      • accept!/2
      • arguments/1
      • certificate/1
      • certificate!/1
      • ciphers/1
      • connect/1
      • connect/2
      • connect/3
      • connect!/1
      • connect!/2
      • connect!/3
      • error/1
      • handshake/2
      • handshake!/1
      • handshake!/2
      • info/1
      • info!/1
      • listen/0
      • listen/1
      • listen/2
      • listen!/0
      • listen!/1
      • listen!/2
      • negotiated_protocol/1
      • options/2
      • options!/2
      • process/2
      • process!/2
      • renegotiate/1
      • renegotiate!/1
      • versions/0
  • Socket.Stream
    • Summary
    • Types
      • t/0
    • Functions
      • close/1
      • close!/1
      • file/2
      • file/3
      • file!/2
      • file!/3
      • io/3
      • io!/2
      • io!/3
      • recv/1
      • recv/2
      • recv/3
      • recv!/1
      • recv!/2
      • recv!/3
      • send/2
      • send!/2
      • shutdown/1
      • shutdown/2
      • shutdown!/1
      • shutdown!/2
  • Socket.Stream.Protocol
    • Summary
    • Types
      • t/0
    • Functions
      • close/1
      • file/3
      • recv/1
      • recv/2
      • recv/3
      • send/2
      • shutdown/2
  • Socket.TCP
    • Sections
      • Options
      • Examples
    • Summary
    • Types
      • error/0
      • t/0
    • Functions
      • accept/2
      • accept!/1
      • accept!/2
      • arguments/1
      • connect/1
      • connect/2
      • connect/3
      • connect!/1
      • connect!/2
      • connect!/3
      • error/1
      • listen/0
      • listen/1
      • listen/2
      • listen!/0
      • listen!/1
      • listen!/2
      • options/2
      • options!/2
      • process/2
      • process!/2
  • Socket.UDP
    • Sections
      • Options
      • Examples
    • Summary
    • Types
      • t/0
    • Functions
      • arguments/1
      • open/0
      • open/1
      • open/2
      • open!/0
      • open!/1
      • open!/2
      • options/2
      • process/2
      • process!/2
  • Socket.Web
    • Sections
      • Client example
      • Server example
    • Summary
    • Types
      • error/0
      • packet/0
      • t/0
    • Functions
      • abort/1
      • accept/2
      • accept!/2
      • arguments/1
      • close/1
      • close/3
      • connect/1
      • connect/2
      • connect/3
      • connect!/1
      • connect!/2
      • connect!/3
      • listen/0
      • listen/1
      • listen/2
      • listen!/0
      • listen!/1
      • listen!/2
      • local/1
      • local!/1
      • ping/2
      • ping!/2
      • pong/2
      • pong!/2
      • recv/2
      • recv!/2
      • remote/1
      • remote!/1
      • send/3
      • send!/3
  • Exceptions
  • Socket.Error
    • Summary
    • Types
      • t/0

Socket.Datagram (socket2 v2.1.2)

Summary

Types

t()

Functions

recv(self)

See Socket.Datagram.Protocol.recv/1.

recv(self, length_or_options)

See Socket.Datagram.Protocol.recv/2.

recv(self, length, options)

See Socket.Datagram.Protocol.recv/3.

recv!(self)
recv!(self, length_or_options)
recv!(self, length, options)
send(self, packet, to)

See Socket.Datagram.Protocol.send/3.

send!(self, packet, to)

Types

Link to this type

t()

@type t() :: Socket.Datagram.Protocol.t()

Functions

Link to this function

recv(self)

See Socket.Datagram.Protocol.recv/1.

Link to this function

recv(self, length_or_options)

See Socket.Datagram.Protocol.recv/2.

Link to this function

recv(self, length, options)

See Socket.Datagram.Protocol.recv/3.

Link to this function

recv!(self)

Link to this function

recv!(self, length_or_options)

Link to this function

recv!(self, length, options)

Link to this function

send(self, packet, to)

See Socket.Datagram.Protocol.send/3.

Link to this function

send!(self, packet, to)

Hex Package Hex Preview Download ePub version

Built using ExDoc (v0.34.2) for the Elixir programming language