130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
|
}
}
/*
** Open a socket connection. The identify of the server is determined
** by pUrlData
**
** pUrlDAta->name Name of the server. Ex: www.fossil-scm.org
** pUrlDAta->port TCP/IP port to use. Ex: 80
**
** Return the number of errors.
*/
int socket_open(UrlData *pUrlData){
int rc = 0;
struct addrinfo *ai = 0;
struct addrinfo *p;
|
|
|
|
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
|
}
}
/*
** Open a socket connection. The identify of the server is determined
** by pUrlData
**
** pUrlData->name Name of the server. Ex: www.fossil-scm.org
** pUrlData->port TCP/IP port to use. Ex: 80
**
** Return the number of errors.
*/
int socket_open(UrlData *pUrlData){
int rc = 0;
struct addrinfo *ai = 0;
struct addrinfo *p;
|