Show newer

@dancer_xiv
Thanks. The code works and it's just school homework anyway.

@applejack I'm basing it off this blog blog.abhijeetr.com/2010/04/ver and looks like the same exact thing happens with the code from the blog.

struct sockaddr_in clientaddr;
socklen_t addrlen;

addrlen = sizeof(clientaddr);
clients[slot] = accept (listenfd, (struct sockaddr *) &clientaddr, &addrlen);

Show thread
Show older
Game Liberty Mastodon

Mainly gaming/nerd instance for people who value free speech. Everyone is welcome.