36 lines
673 B
Markdown
36 lines
673 B
Markdown
# Tasks for IRC
|
|
|
|
### Useful info
|
|
|
|
You can try connect IRC server with
|
|
|
|
```bash
|
|
nc localhost <port>
|
|
```
|
|
|
|
---
|
|
|
|
### 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()
|
|
|
|
### Second stage
|
|
|
|
- Server can handle multiple clients simultaneously
|
|
|
|
### Third stage
|
|
|
|
- Client has nickname and username
|
|
- Client needs password for authenticate
|
|
- Client can be regular user or operator (admin)
|
|
|
|
### Fourth stage
|
|
|
|
- Client can create/connect to channels
|
|
- Client can send message inside channel (only people inside this channel can read)
|
|
|
|
*It will continue...*
|