aboutsummaryrefslogtreecommitdiff
path: root/portal/tcp
diff options
context:
space:
mode:
Diffstat (limited to 'portal/tcp')
-rw-r--r--portal/tcp/portal_tcp.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/portal/tcp/portal_tcp.ml b/portal/tcp/portal_tcp.ml
index 3bf34a7..37a3065 100644
--- a/portal/tcp/portal_tcp.ml
+++ b/portal/tcp/portal_tcp.ml
@@ -1,5 +1,5 @@
-let tcp_endpoint (_domain : string) : int = 5222
- (** [tcp_endpoint domain] is the port where [domain]'s XMPP server is hosted.
+let xmpp_port (_domain : string) : int = 5222
+ (** [xmpp_port domain] is the port where [domain]'s XMPP server is hosted.
Currently, it falls back to 5222 (always), but should use SRV records in the near
future. *)