openHiTLS API openHiTLS 0.1.0-Alpha1

◆ BSL_SAL_SockListen()

int32_t BSL_SAL_SockListen ( int32_t  sockId,
int32_t  backlog 
)

Listening socket

Listen socket

注意
none
参数
sockId[IN] Socket file descriptor ID
backlog[IN] Length of the receiving queue
返回值
Ifthe operation succeeds, BSL_SUCCESS is returned.
Ifthe operation fails, BSL_SAL_ERR_NET_LISTEN is returned.