Safe Haskell | None |
---|---|
Language | Haskell2010 |
- forwardTcpPort :: Network addr => NetworkStack -> addr -> TcpPort -> addr -> TcpPort -> IO ()
- removeTcpPortForward :: Network addr => NetworkStack -> addr -> TcpPort -> IO ()
- forwardUdpPort :: Network addr => NetworkStack -> addr -> UdpPort -> addr -> UdpPort -> IO ()
- removeUdpPortForward :: Network addr => NetworkStack -> addr -> UdpPort -> IO ()
Documentation
:: Network addr | |
=> NetworkStack | |
-> addr | Local address (can be wildcard) |
-> TcpPort | Local port |
-> addr | Remote address |
-> TcpPort | Remote port |
-> IO () |
Add a TCP port-forwarding rule.
:: Network addr | |
=> NetworkStack | |
-> addr | Local address (can be wildcard) |
-> TcpPort | Local port |
-> IO () |
Remove a TCP port-forwarding rule.
:: Network addr | |
=> NetworkStack | |
-> addr | Local address (can be wildcard) |
-> UdpPort | Local port |
-> addr | Remote address |
-> UdpPort | Remote port |
-> IO () |
Add a UDP port-forwarding rule.
:: Network addr | |
=> NetworkStack | |
-> addr | Local address (can be wildcard) |
-> UdpPort | Local port |
-> IO () |
Remove a UDP port-forwarding rule.