openHiTLS API openHiTLS 0.1.0-Alpha1

◆ BSL_SAL_SockClose()

int32_t BSL_SAL_SockClose ( int32_t  sockId)

Close the socket.

Close the socket

Attention
none
Parameters
sockId[IN] Socket file descriptor ID
Return values
Ifthe operation succeeds, BSL_SUCCESS is returned.
Ifthe operation fails, BSL_SAL_ERR_NET_SOCKCLOSE is returned.