openHiTLS API openHiTLS 0.1.0-Alpha1

◆ BSL_SAL_Socket()

int32_t BSL_SAL_Socket ( int32_t  af,
int32_t  type,
int32_t  protocol 
)

Socket creation interface

Socket creation interface.

注意
none
参数
af[IN] Socket specifies the protocol set.
type[IN] Socket type
protocol[IN] Protocol type
返回值
Ifthe creation is successful, a non-negative value is returned.
Otherwise,anegative value is returned.