X400 MS (P7) Asynchronous API

Description of the function calls for the P7 (X.400 UA) asynchronous interface. More...

int X400msProcessEvent (int num_fds, fd_set *read_fds, fd_set *write_fds, fd_set *error_fds)
 Process outstanding read, write and error events on the specified set of file descriptors. Registered callback handlers will be invoked to pass the result of these events back to the client application. More...
 

Detailed Description

Description of the function calls for the P7 (X.400 UA) asynchronous interface.

Function Documentation

◆ X400msProcessEvent()

int X400msProcessEvent ( int  num_fds,
fd_set *  read_fds,
fd_set *  write_fds,
fd_set *  error_fds 
)

Process outstanding read, write and error events on the specified set of file descriptors. Registered callback handlers will be invoked to pass the result of these events back to the client application.

Parameters
num_fds[in] Highest numbered file descriptor in any set, plus 1
read_fds[in] Set of file descriptors for read events
write_fds[in] Set of file descriptors for write events
error_fds[in] Set of file descriptors for exception events
Returns
zero on success or non-zero error code
Examples
x400_msasync.c.