| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Simplex.RemoteControl.Discovery
Documentation
pattern ANY_ADDR_V4 :: (IsString a, Eq a) => a Source #
getLocalAddress :: Maybe RCCtrlAddress -> IO [RCCtrlAddress] Source #
mkLastLocalHost :: [RCCtrlAddress] -> [RCCtrlAddress] Source #
preferAddress :: RCCtrlAddress -> [RCCtrlAddress] -> [RCCtrlAddress] Source #
startTLSServer :: Maybe Word16 -> TMVar (Maybe PortNumber) -> Credential -> ServerHooks -> (TLS 'TServer -> IO ()) -> IO (Async ()) Source #
withSender :: (UDPSocket -> IO a) -> IO a Source #
withListener :: TMVar Int -> (ListenSocket -> IO a) -> IO a Source #
recvAnnounce :: ListenSocket -> IO (SockAddr, ByteString) Source #