Module
Node.Datagram
- Package
- purescript-node-datagram
- Repository
- brandonhamilton/purescript-node-datagram
This module defines low-level bindings to the Node dgram module.
#SocketInfo Source
type SocketInfo = { address :: String, family :: String, port :: Int }Socket address information
#createSocket Source
createSocket :: forall eff. SocketType -> Maybe Boolean -> Eff (dgram :: DATAGRAM | eff) SocketCreates a Socket data structure
#address Source
address :: forall eff. Socket -> Eff (dgram :: DATAGRAM | eff) SocketInfoReturn the address information for a socket
- Modules
- Node.
Datagram