openHiTLS API openHiTLS 0.1.0-Alpha1

◆ BSL_SAL_Ioctlsocket()

int32_t BSL_SAL_Ioctlsocket ( int32_t  sockId,
long  cmd,
unsigned long *  arg 
)

Device control interface function.

Device control interface function

Attention
None
Parameters
sockId[IN] Socket file descriptor ID
cmd[IN] Interaction protocol
arg[IN] Parameter
Return values
Ifthe operation succeeds, BSL_SUCCESS is returned.
Ifthe operation fails, BSL_SAL_ERR_NET_IOCTL is returned.