It's form is analogous to SYSV's ioctl, with encoded arguments that should be specified with the *_IOCTL_* macros listed here. It's intended use is for special, out-of-object-signature behavior. For that reason, it's super-generic.
int ISockPort_IOCtl(ISockPort* po, int nOption, uint32 dwVal);
- AEE_SUCCESS : the option id is known and the operation succeeded
AEE_NET_EBADF : socket is not open AEE_EUNSUPPORTED : the option id was unrecognized
Other error codes are also possible.