I'm working my way through Beej's Tutorial, and have ran into a snag.
this portion of code is throwing some errors I'm not aware of.Code:
new_fd = accept(sockfd, (struct sockaddr *)&their_addr, &sin_size);
invalid conversion from int* to socklen_t*
initializing argument 3 of int accept(int, sockaddr*, socklen_t*)
does anyone know why this is happening?