217 int bind(
string str, softbool reuseaddr =
False);
235 int bind(
int port, softbool reuseaddr =
False);
267 nothing
bindINET(*
string iface, *softstring service, softbool reuseaddr =
False, softint family =
AF_UNSPEC, softint socktype =
SOCK_STREAM, softint protocol = 0);
333 nothing
connect(
string target, timeout timeout_ms = -1);
361 nothing
connectINET(
string host, softstring service, timeout timeout_ms = -1, softint family =
AF_UNSPEC, softint socktype =
SOCK_STREAM, softint protocol = 0);
422 nothing
connectSSL(
string target, timeout timeout_ms = -1);
817 string recv(softint size = 0, timeout timeout_ms = -1);
870 int recvi1(timeout timeout_ms = -1);
896 int recvi2(timeout timeout_ms = -1);
948 int recvi4(timeout timeout_ms = -1);
1000 int recvi8(timeout timeout_ms = -1);
1052 int recvu1(timeout timeout_ms = -1);
1078 int recvu2(timeout timeout_ms = -1);
1130 int recvu4(timeout timeout_ms = -1);
1218 int send(
string str, timeout timeout_ms = -1);
1245 nothing
send2(
binary bin, timeout timeout_ms = -1);
1274 nothing
send2(
string str, timeout timeout_ms = -1);
1303 int sendBinary(
string str, timeout timeout_ms = -1);
1358 nothing
sendBinary2(
string str, timeout timeout_ms = -1);
1416 nothing
sendHTTPMessage(
string method,
string path,
string http_version,
hash headers, *
string body, *reference info, timeout timeout_ms = -1);
1446 nothing
sendHTTPMessage(
string method,
string path,
string http_version,
hash headers,
binary body, *reference info, timeout timeout_ms = -1);
1474 nothing
sendHTTPResponse(softint status_code,
string status_desc,
string http_version,
hash headers, *
string body, timeout timeout_ms = -1);
1500 nothing
sendHTTPResponse(softint status_code,
string status_desc,
string http_version,
hash headers,
binary body, timeout timeout_ms = -1);
1527 int sendi1(softint i = 0, timeout timeout_ms = -1);
1554 int sendi2(softint i = 0, timeout timeout_ms = -1);
1581 int sendi2LSB(softint i = 0, timeout timeout_ms = -1);
1608 int sendi4(softint i = 0, timeout timeout_ms = -1);
1635 int sendi4LSB(softint i = 0, timeout timeout_ms = -1);
1662 int sendi8(softint i = 0, timeout timeout_ms = -1);
1689 int sendi8LSB(softint i = 0, timeout timeout_ms = -1);
1987 "X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT":
"Unable to get issuer certificate",
1988 "X509_V_ERR_UNABLE_TO_GET_CRL":
"Unable to get certificate CRL",
1989 "X509_V_ERR_UNABLE_TO_DECRYPT_CERT_SIGNATURE":
"Unable to decrypt certificate's signature. This means that the actual signature value could not be determined rather than it not matching the expected value; this is only meaningful for RSA",
1990 "X509_V_ERR_UNABLE_TO_DECRYPT_CRL_SIGNATURE":
"Unable to decrypt CRL's signature",
1991 "X509_V_ERR_UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY":
"Unable to decode issuer public key (SubjectPublicKeyInfo)",
1992 "X509_V_ERR_CERT_SIGNATURE_FAILURE":
"Certificate signature failure; the signature of the certificate is invalid",
1993 "X509_V_ERR_CRL_SIGNATURE_FAILURE":
"CRL signature failure; the signature of the certificate is invalid",
1994 "X509_V_ERR_CERT_NOT_YET_VALID":
"Certificate is not yet valid",
1995 "X509_V_ERR_CERT_HAS_EXPIRED":
"Certificate has expired",
1996 "X509_V_ERR_CRL_NOT_YET_VALID":
"CRL is not yet valid",
1997 "X509_V_ERR_CRL_HAS_EXPIRED":
"CRL has expired",
1998 "X509_V_ERR_ERROR_IN_CERT_NOT_BEFORE_FIELD":
"Format error in certificate's notBefore field (invalid time)",
1999 "X509_V_ERR_ERROR_IN_CERT_NOT_AFTER_FIELD":
"Format error in certificate's notAfter field (invalid time)",
2000 "X509_V_ERR_ERROR_IN_CRL_LAST_UPDATE_FIELD":
"Format error in CRL's lastUpdate field (invalid time)",
2001 "X509_V_ERR_ERROR_IN_CRL_NEXT_UPDATE_FIELD":
"Format error in CRL's nextUpdate field (invalid time)",
2002 "X509_V_ERR_OUT_OF_MEM":
"Out of memory error",
2003 "X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT":
"Certificate is self-signed and cannot be found in the trusted list",
2004 "X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN":
"Self signed certificate in certificate chain",
2005 "X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY":
"Unable to get local issuer certificate. This normally means the list of trusted certificates is not complete",
2006 "X509_V_ERR_UNABLE_TO_VERIFY_LEAF_SIGNATURE":
"Unable to verify the first certificate",
2007 "X509_V_ERR_CERT_CHAIN_TOO_LONG":
"Certificate chain too long",
2008 "X509_V_ERR_CERT_REVOKED":
"Certificate has been revoked",
2009 "X509_V_ERR_INVALID_CA":
"Invalid CA certificate",
2010 "X509_V_ERR_PATH_LENGTH_EXCEEDED":
"The basicConstraints pathlength parameter has been exceeded",
2011 "X509_V_ERR_INVALID_PURPOSE":
"The certificate cannot be used for the specified purpose",
2012 "X509_V_ERR_CERT_UNTRUSTED":
"Root CA is not marked as trusted for the specified purpose",
2013 "X509_V_ERR_CERT_REJECTED":
"Root CA is marked to reject the specified purpose",
2014 "X509_V_ERR_SUBJECT_ISSUER_MISMATCH":
"The current candidate issuer certificate was rejected because its subject name did not match the issuer name of the current certificate",
2015 "X509_V_ERR_AKID_SKID_MISMATCH":
"The current candidate issuer certificate was rejected because its subject key identifier was present and did not match the authority key identifier of the current certificate",
2016 "X509_V_ERR_AKID_ISSUER_SERIAL_MISMATCH":
"Issuer name and serial number of candidate certificate do not match the authority key identifier of the current certificate",
2017 "X509_V_ERR_KEYUSAGE_NO_CERTSIGN":
"The keyUsage extension does not permit certificate signing",
2018 "X509_V_ERR_APPLICATION_VERIFICATION":
"Verification failure",