Gets the socket descriptor for a connection handle. The socket descriptor can be used in the standard C-function select to wait for a socket to be ready for read or write access.
This function is only needed if the program using the Message Feed connection must not block while waiting for a reply from the Message Feed server.
Note: Use the socket descriptor only for select function calls.
int mfp_GetSocket(h_mfp hMFP);
hMFP – The handle to the Message Feed connection. The function returns a socket descriptor, or –1 in case of an error.
Use the mfp_GetLastError function to get a textual description of the error.