diff --git a/man/sxlink_master_accept.3 b/man/sxlink_master_accept.3 index c2e5a31..52b4f63 100644 --- a/man/sxlink_master_accept.3 +++ b/man/sxlink_master_accept.3 @@ -8,9 +8,9 @@ sxlink_close \- Close link. .SH SYNOPSIS .B #include .sp -sxlink_t *sxlink_master_accept(sxhub_t *ssys, int sck, struct in_addr *addr); +sxlink_t *sxlink_master_accept(sxhub_t *hub, int sck, struct in_addr *addr); -sxlink_t *sxlink_connect(sxhub_t *ssys, const char *host, +sxlink_t *sxlink_connect(sxhub_t *hub, const char *host, int port, const char *SSL_cert, const char *login, const char *passwd); @@ -21,7 +21,7 @@ int sxlink_close(sxlink_t *co); .SH DESCRIPTION .B sxlink_master_accept will create a new link within -.B ssys +.B hub hub with already accepted socket fd .B sck and set ip address of this connection pointed by @@ -32,7 +32,7 @@ is NULL, peer address will not set. .br .B sxlink_connect will create a new link to the master side using -.B ssys +.B hub hub to the host pointed via hostname or ip address in nul terminated string .B host running on port number