Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | API Reference | awGet | awGetFds
 
awGetFds
BrokerError awGetFds(
int *n,
int **fds);
n
The number of file descriptors that were returned. This parameter is used for output.
fds
A list of file descriptors for all of this application's Broker clients. This parameter is used for output.
Provides a list of file descriptors for all of this application's Broker clients. When data is waiting to be read on one of the file descriptors, use awIsClientPending to see if an event has arrived. If data has arrived, you may use any of event retrieval functions, such as awGetEvent, or an event dispatching function, such as awDispatch, to handle the event.
Important:
Use of this function in combination with secure sockets is not recommended.
Possible BrokerError major codes
Meaning
AW_ERROR_INVALID_CLIENT
The client has been destroyed or disconnected.
AW_ERROR_NULL_PARAM
The parameter n or fds is NULL.
See also: