xcp-0.1.0.1: Partial implementation of the XCP protocol with ethernet as transport layer.

Safe HaskellNone
LanguageHaskell2010

Network.Udp

Synopsis

Documentation

withUdpDo :: IO a -> IO a Source

The same as withSocketsDo, since some operating systems require some initialisation when using sockets.

udpSocket Source

Arguments

:: String

Local IP address in the form "a.b.c.d".

-> PortNumber

Port number

-> IO Socket

The socket tp use with UDP.

Creates a socket with the given local IP address and port.