Fix comments of 2 UDP functions, where port referred to TCP

`TCP` -> `UDP` in doc comments for functions `publish_udp` and `remote_actor_udp`
parent a91780e5
...@@ -78,7 +78,7 @@ public: ...@@ -78,7 +78,7 @@ public:
/// Tries to publish `whom` at `port` and returns either an /// Tries to publish `whom` at `port` and returns either an
/// `error` or the bound port. /// `error` or the bound port.
/// @param whom Actor that should be published at `port`. /// @param whom Actor that should be published at `port`.
/// @param port Unused TCP port. /// @param port Unused UDP port.
/// @param in The IP address to listen to or `INADDR_ANY` if `in == nullptr`. /// @param in The IP address to listen to or `INADDR_ANY` if `in == nullptr`.
/// @param reuse Create socket using `SO_REUSEADDR`. /// @param reuse Create socket using `SO_REUSEADDR`.
/// @returns The actual port the OS uses after `bind()`. If `port == 0` /// @returns The actual port the OS uses after `bind()`. If `port == 0`
...@@ -132,7 +132,7 @@ public: ...@@ -132,7 +132,7 @@ public:
/// Contacts the actor at `host` on given `port`. /// Contacts the actor at `host` on given `port`.
/// @param host Valid hostname or IP address. /// @param host Valid hostname or IP address.
/// @param port TCP port. /// @param port UDP port.
/// @returns An `actor` to the proxy instance representing /// @returns An `actor` to the proxy instance representing
/// a remote actor or an `error`. /// a remote actor or an `error`.
template <class ActorHandle = actor> template <class ActorHandle = actor>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment