- MIT License
- See LICENSE file
This was started just for playing around with sockets in linux
Program uses TCP
Up until now, client just connects, sends the message and closes. Server keeps running and accepting new connections
./sc_server < port >
./sc_server < host > < port >
- Remove gethostbyname() and use getaddrinfo() or getnameinfo()
- Done for server!
- SC_Client and SC_Server are almost identical, maybe use a single struct...
- Remove some duplication
- Each endpoint now holds it's socket file descriptor and a buffer
- Keep communication loop
- Done for server
- Improve error handling
- Thread it up!