struct sockaddr_in clientaddr;
socklen_t addrlen;
addrlen = sizeof(clientaddr);
clients[slot] = accept (listenfd, (struct sockaddr *) &clientaddr, &addrlen);
I'm the joke, but you're the punchline.
I run this website. I like posting funnies and fugging lolis.