.\"Generated by db2man.xsl. Don't modify this, modify the source.
.de Sh \" Subsection
.br
.if t .Sp
.ne 5
.PP
\fB\\$1\fR
.PP
..
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.de Ip \" List item
.br
.ie \\n(.$>=3 .ne \\$3
.el .ne 3
.IP "\\$1" \\$2
..
.TH "NE_SOCK_INIT" 3 "20 January 2006" "neon 0.25.5" "neon API reference"
.SH NAME
ne_sock_init \- perform library initialization
.SH "SYNOPSIS"
.ad l
.hy 0

#include <ne_socket\&.h>
.sp
.HP 18
int\ \fBne_sock_init\fR\ (void);
.ad
.hy

.SH "DESCRIPTION"

.PP
In some platforms and configurations, neon may be using some socket or SSL libraries which require global initialization before use\&. To perform this initialization, the \fBne_sock_init\fR function must be called once before any other library functions are used\&.

.SH "RETURN VALUE"

.PP
\fBne_sock_init\fR returns zero on success, or non\-zero on error\&. If an error occurs, no further use of the neon library should be attempted\&.

.SH "SEE ALSO"

.PP
\fBneon\fR(3)

.SH AUTHOR
Joe Orton <neon@webdav\&.org>.
