GNU.WIKI: The GNU/Linux Knowledge Base
[HOME] [PHP Manual] [HowTo] [ABS] [MAN1] [MAN2] [MAN3] [MAN4] [MAN5] [MAN6] [MAN7] [MAN8] [MAN9]
[0-9] [Aa] [Bb] [Cc] [Dd] [Ee] [Ff] [Gg] [Hh] [Ii] [Jj] [Kk] [Ll] [Mm] [Nn] [Oo] [Pp] [Qq] [Rr] [Ss] [Tt] [Uu] [Vv] [Ww] [Xx] [Yy] [Zz]
XPAOpen - allocate a persistent client handle
XPA XPAOpen(char *mode);
XPAOpen() allocates a persistent XPA struct that can be used with calls
to XPAGet(), XPASet(), XPAInfo(), XPAGetFd(), and XPASetFd().
Persistence means that a connection to an XPA server is not closed when
one of the above calls is completed but will be re-used on successive
calls. Using XPAOpen() therefore saves the time it takes to connect to
a server, which could be significant with slow connections or if there
will be a large number of exchanges with a given access point. The
mode argument currently is ignored ("reserved for future use").
An XPA struct is returned if XPAOpen() was successful; otherwise NULL
is returned. This returned struct can be passed as the first argument
to XPAGet(), etc. Those calls will update the list of active XPA
connections. Already connected servers (from a previous call) are left
connected and new servers also will be connected. Old servers (from a
previous call) that are no longer needed are disconnected. The
connected servers will remain connected when the next call to XPAGet()
is made and connections are once again updated.
xpa = XPAOpen(NULL);
See xpa(7) for a list of XPA help pages
All copyrights belong to their respective owners. Other content (c) 2014-2018, GNU.WIKI. Please report site errors to email@example.com.Page load time: 0.183 seconds. Last modified: November 04 2018 12:49:43.