is there anything wrong with this?
g++ said that i changed signedness in the 3rd parameter (addresslen). i dont know what this means. thx.Code:int addresslen; ... addresslen = sizeof(remoteip); if ((newfd = accept(listen_sock, (struct sockaddr *) &remoteip, &addresslen)) == -1) { perror("accept"); }
oh the program can compile if i make it
but then the program doesnt work!Code:unsigned int addresslen