version 1.5 | | version 1.6 |
---|
| | |
/* | | /* |
* static char *rcsid_metaserver_c = | | * static char *rcsid_metaserver_c = |
* "$Id: metaserver.c,v 1.5 2000/11/26 04:56:05 cvs Exp $"; | | * "$Id: metaserver.c,v 1.6 2000/12/04 00:40:06 cvs Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
} | | } |
sock.sin_family = AF_INET; | | sock.sin_family = AF_INET; |
sock.sin_port = htons(settings.meta_port); | | sock.sin_port = htons(settings.meta_port); |
#ifndef __FreeBSD__ | | #if 0 |
/* Freebsd seems to have a problem in that the sendto in metaserver_update will | | /* Freebsd seems to have a problem in that the sendto in metaserver_update will |
* fail on a connected socket. So don't connect the socket. | | * fail on a connected socket. So don't connect the socket. |
| | * Solaris has the same problem, so for now just disable this. |
*/ | | */ |
if (connect(metafd, &sock, sizeof(sock))<0) { | | if (connect(metafd, &sock, sizeof(sock))<0) { |
LOG(llevDebug,"metaserver_init: Unable to connect to metaserver, err %d\n", errno); | | LOG(llevDebug,"metaserver_init: Unable to connect to metaserver, err %d\n", errno); |