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

Attention
none
Parameters
sockId[IN] Socket file descriptor ID
backlog[IN] Length of the receiving queue
Return values
Ifthe operation succeeds, BSL_SUCCESS is returned.
Ifthe operation fails, BSL_SAL_ERR_NET_LISTEN is returned.