Lines Matching refs:on
38 * Returns the file descriptor on success or INVALID_SOCKET on failure. On
76 * Returns 1 on success or 0 on failure. On failure errno is set
81 const int on = 1;
93 (const void *)&on, sizeof(on)) != 0) {
103 (const void *)&on, sizeof(on)) != 0) {
151 int on = 1;
161 * SO_REUSEADDR has different behavior on Windows than on
166 (const void *)&on, sizeof(on)) != 0) {
207 * Not all operating systems support IPv4 addresses on an IPv6 socket, and for
224 int on = 1;
247 (const void *)&on, sizeof(on)) != 0) {
257 (const void *)&on, sizeof(on)) != 0) {
272 on = options & BIO_SOCK_V6_ONLY ? 1 : 0;
274 (const void *)&on, sizeof(on)) != 0) {
300 * @options: BIO socket options, applied on the accepted socket.