summaryrefslogtreecommitdiff
path: root/src/main.c
Commit message (Collapse)AuthorAgeFilesLines
* src/main.c: include "telnet.h"cashmere2026-07-011-86/+1
|
* src/main.c: prompt user to enter nicknamecashmere2026-06-301-0/+3
|
* src/main.c: include struct client into `process_message`cashmere2026-06-301-2/+2
|
* src/main.c: include struct client into handle_new_connectioncashmere2026-06-301-2/+5
|
* src/main.c: add struct clientcashmere2026-06-301-2/+7
|
* src/main.c: differentiate between message exit code 0 and -1cashmere2026-06-301-3/+9
|
* src/main.c: remove errors from functions itselfcashmere2026-06-301-3/+0
|
* src/main.c: exclude disconnect message `Success`cashmere2026-06-301-1/+1
|
* src/main.c: add function descriptionscashmere2026-06-301-1/+5
|
* src/main.c: adjust error code handlercashmere2026-06-301-1/+1
|
* src/main.c: close socket after error occurcashmere2026-06-301-4/+6
|
* src/main.c: extract process message into seperate fn for readibilitycashmere2026-06-251-23/+32
|
* src/main.c: extract new connection into seperate fncashmere2026-06-251-10/+12
|
* src/main.c: add comments and adjust variable names for readibilitycashmere2026-06-251-10/+14
|
* src/main.c: add fn establish connectioncashmere2026-06-241-5/+16
|
* src/main.c: remove unused headercashmere2026-06-241-1/+0
|
* src/main.c: better close conn and clean upcashmere2026-06-221-0/+3
|
* src/main.c: include <poll.h>cashmere2026-06-221-0/+1
|
* src/main.c: broadcast messages to all connected clientscashmere2026-06-221-4/+31
|
* src/main.c: accept multiple clients simultaneouslycashmere2026-06-221-3/+9
|
* src/main.c: respond to client without closing connectioncashmere2026-06-221-3/+4
|
* src/main.c: add echo functionalitycashmere2026-06-221-2/+3
|
* src/main.c: add while loop to let server run without closing conncashmere2026-06-221-6/+9
|
* src/main.c: accept connection and respond with stringcashmere2026-06-221-4/+7
|
* src/main.c: add `setsockopt` to reuse socket without waitingcashmere2026-06-221-0/+2
|
* src/main.c: include string and unistd headerscashmere2026-06-221-0/+2
|
* src/main.c: add listen_addr and start telnet servercashmere2026-06-221-0/+8
|
* src/main.c: bind socketcashmere2026-06-221-4/+14
|
* src/main.c: create socketcashmere2026-06-221-0/+12
|
* src/main.c: add filecashmere2026-06-221-0/+0