Copyright | (c) 2009, Tom Lokhorst |
---|---|
License | BSD3 |
Maintainer | Tom Lokhorst <tom@lokhorst.eu> |
Stability | Experimental |
Safe Haskell | None |
Language | Haskell98 |
Functions for sending a Wake on LAN Magic Packet.
- sendWoLMagicPacket :: String -> String -> Int -> IO ()
- send :: HostAddress -> MacAddress -> PortNumber -> IO ()
- magicPacket :: MacAddress -> ByteString
Documentation
sendWoLMagicPacket :: String -> String -> Int -> IO () Source #
User friendly wrapper around send
function.
send :: HostAddress -> MacAddress -> PortNumber -> IO () Source #
Send a magic packet to the specified location.
magicPacket :: MacAddress -> ByteString Source #
Construct a magic packet based on MacAddress
.