Project homepage Mailing List  Warmcat.com  API Docs  Github Mirror 
{"schema":"libjg2-1", "vpath":"/git/", "avatar":"/git/avatar/", "alang":"", "gen_ut":1752650316, "reponame":"openssl", "desc":"OpenSSL", "owner": { "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },"url":"https://warmcat.com/repo/openssl", "f":3, "items": [ {"schema":"libjg2-1", "cid":"96c1c69430210a9229e9d719f30b7158", "oid":{ "oid": "d47eaaf41f67b0c3521a53aed6b4c4458417f791", "alias": []},"blobname": "doc/man3/SSL_set_fd.pod", "blob": "\u003dpod\n\n\u003dhead1 NAME\n\nSSL_set_fd, SSL_set_rfd, SSL_set_wfd - connect the SSL object with a file descriptor\n\n\u003dhead1 SYNOPSIS\n\n #include \u003copenssl/ssl.h\u003e\n\n int SSL_set_fd(SSL *ssl, int fd);\n int SSL_set_rfd(SSL *ssl, int fd);\n int SSL_set_wfd(SSL *ssl, int fd);\n\n\u003dhead1 DESCRIPTION\n\nSSL_set_fd() sets the file descriptor B\u003cfd\u003e as the input/output facility\nfor the TLS/SSL (encrypted) side of B\u003cssl\u003e. B\u003cfd\u003e will typically be the\nsocket file descriptor of a network connection.\n\nWhen performing the operation, a B\u003csocket BIO\u003e is automatically created to\ninterface between the B\u003cssl\u003e and B\u003cfd\u003e. The BIO and hence the SSL engine\ninherit the behaviour of B\u003cfd\u003e. If B\u003cfd\u003e is non-blocking, the B\u003cssl\u003e will\nalso have non-blocking behaviour.\n\nIf there was already a BIO connected to B\u003cssl\u003e, BIO_free() will be called\n(for both the reading and writing side, if different).\n\nSSL_set_rfd() and SSL_set_wfd() perform the respective action, but only\nfor the read channel or the write channel, which can be set independently.\n\n\u003dhead1 RETURN VALUES\n\nThe following return values can occur:\n\n\u003dover 4\n\n\u003ditem Z\u003c\u003e0\n\nThe operation failed. Check the error stack to find out why.\n\n\u003ditem Z\u003c\u003e1\n\nThe operation succeeded.\n\n\u003dback\n\n\u003dhead1 SEE ALSO\n\nL\u003cSSL_get_fd(3)\u003e, L\u003cSSL_set_bio(3)\u003e,\nL\u003cSSL_connect(3)\u003e, L\u003cSSL_accept(3)\u003e,\nL\u003cSSL_shutdown(3)\u003e, L\u003cssl(7)\u003e , L\u003cbio(7)\u003e\n\n\u003dhead1 COPYRIGHT\n\nCopyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved.\n\nLicensed under the OpenSSL license (the \u0022License\u0022). You may not use\nthis file except in compliance with the License. You can obtain a copy\nin the file LICENSE in the source distribution or at\nL\u003chttps://www.openssl.org/source/license.html\u003e.\n\n\u003dcut\n","s":{"c":1752650316,"u": 294}} ],"g": 1590,"chitpc": 0,"ehitpc": 0,"indexed":0 , "ab": 1, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}