int nbio_sock_error(int sock)
{
int j,i;
- unsigned int size;
+ int size;
size=sizeof(int);
i=getsockopt(sock,SOL_SOCKET,SO_ERROR,(char *)&j,&size);
int ret,i;
struct hostent *h1,*h2;
static struct sockaddr_in from;
- unsigned int len;
+ int len;
/* struct linger ling; */
if (!sock_init()) return(0);