cmds folder created and first version of pass cmd

This commit is contained in:
aortigos
2026-05-10 22:44:27 +02:00
parent c61e0826c6
commit 2f995fe856
2 changed files with 45 additions and 10 deletions

View File

@@ -29,24 +29,27 @@ Represents a connected IRC client.
### First stage
- Server starts
- It accepts two params, ./ircserv <port> <password>
- The server accepts one user, user can send messages and we can see from server
- Only 1 poll()
- [✓] Server starts
- [✓] It accepts two params, ./ircserv <port> <password>
- [✓] The server accepts one user, user can send messages and we can see from server
- [✓] Only 1 poll()
### Second stage
- Server can handle multiple clients simultaneously
- [✓] Server can handle multiple clients simultaneously
- [ ] Manage SO_REUSEADDR (restarting server fails to bind same port)
### Third stage
- Client has nickname and username
- Client needs password for authenticate
- Client can be regular user or operator (admin)
- [ ] Client has nickname and username
- [ ] Implement generic parser (extract command and pass args to command function)
- [ ] Dispatcher (select function for each command)
- [ ] PASS command for authenticate
### Fourth stage
- Client can create/connect to channels
- Client can send message inside channel (only people inside this channel can read)
- [ ]Client can create/connect to channels
- [ ] JOIN command (user can create channel)
- [ ] PRIVMSG command (send message to a channel)
*It will continue...*