| Copyright | (c) Marc Fontaine 2017-2018 |
|---|---|
| License | BSD3 |
| Maintainer | Marc.Fontaine@gmx.de |
| Stability | experimental |
| Portability | GHC-only |
| Safe Haskell | None |
| Language | Haskell2010 |
WSJTX.UDP.Server
Description
Receive UDP packages from WSJT-X and reply to UDP packages. The UDP destination port address to reach the WSJT-X application is the the same address that the WSJT-X uses as source address. (That not the address that is configured in the GUI). This address is only known after the first package is received from WSJT-X. (WSJT-X regularly sends heard beat packages.)
Documentation
withWsjtxSocket :: PortNumber -> (Socket -> IO a) -> IO a Source #
openSocket :: PortNumber -> IO Socket Source #
replyWithPackages :: PortNumber -> [Package] -> IO () Source #