I want to open a basic socket by the below code:
SOCKET s;
s=socket(AF_INET, SOCK_STREAM, IPPROTO_SCTP);
if(s==INVALID_SOCKET || s == SOCKET_ERROR) {
printf("%d", errno);
closesocket(s);
return SOCKET_INIT_FAILED;
}
The errno it returns: 93.
kernel Version: 2.6.18-238.el5 Cent OS: 5.7