Lines 264-270
Link Here
|
264 |
|
264 |
|
265 |
|
265 |
|
266 |
|
266 |
|
267 |
int connect (int sock, const struct sockaddr *addr, unsigned int len) |
267 |
int connect(int sock, const struct sockaddr *addr, socklen_t len) |
268 |
{ |
268 |
{ |
269 |
int socktype=0,optlen=0,flags=0,ret=0; |
269 |
int socktype=0,optlen=0,flags=0,ret=0; |
270 |
char str[256]; |
270 |
char str[256]; |
Lines 354-360
Link Here
|
354 |
int getnameinfo (const struct sockaddr * sa, |
354 |
int getnameinfo (const struct sockaddr * sa, |
355 |
socklen_t salen, char * host, |
355 |
socklen_t salen, char * host, |
356 |
socklen_t hostlen, char * serv, |
356 |
socklen_t hostlen, char * serv, |
357 |
socklen_t servlen, unsigned int flags) |
357 |
socklen_t servlen, int flags) |
358 |
{ |
358 |
{ |
359 |
int ret = 0; |
359 |
int ret = 0; |
360 |
if(!init_l) |
360 |
if(!init_l) |