Creates an IMC socket pair, returning a pair of file descriptors. These descriptors are data-only, i.e., they may be used with imc_sendmsg and imc_recvmsg, but only if the descriptor count (desc_length) is zero.
|pair ||An array of two file descriptors for the two ends of the socket. |
- On success imc_socketpair returns zero. On failure, it returns -1 and sets errno appropriately. The returned descriptor may only be used to transfer data and is itself transferable.