💻 Student learning Software Engineering Automotive & Mobility Ecosystems at SEA:ME
Personal Site: https://shuta-ogura.vercel.app/
this project is about creating my own IRC server
License: MIT License
💻 Student learning Software Engineering Automotive & Mobility Ecosystems at SEA:ME
Personal Site: https://shuta-ogura.vercel.app/
@Jack-in-42Tokyo
@Jack-in-42Tokyo
- NICK()時にseverにあるchannelのメンバーのClientには反映されていない
- NICKの後のPRIVMSGでメッセージが2回送られる
- mapの要素、vectorの要素をポインタにしたらQUITでセグフォする
- QUITしてもまだNICKの再利用できない
-> nick_to_fdだけeraseされてないのが問題
- 同じ名前で入ってしまってからもう一同違うNickで接続するとfdが0になる
- KICK, PARTでMode +oで権限付与したoper権限消えていない
@Jack-in-42Tokyo
Your Makefile must at least contain the rules: $(NAME), all, clean, fclean and re.
Compile your code with c++ and the flags -Wall -Wextra -Werror
Your code must comply with the C++ 98 standard. Then, it should still compile if you add the flag -std=c++98.
The server must be capable of handling multiple clients at the same time and never hang.
Forking is not allowed. All I/O operations must be non-blocking.
Only 1 poll() (or equivalent) can be used for handling all these operations (read, write, but also listen, and so forth).
Your reference client must be able to connect to your server without encountering any error.
Communication between client and server has to be done via TCP/IP (v4 or v6).
Using your reference client with your server must be similar to using it with any official IRC server. However, you only have to implement the following features:
You must be able to authenticate, set a nickname, a username, join a channel, send and receive private messages using your reference client.
All the messages sent from one client to a channel have to be forwarded to every other client that joined the channel.
You must have operators and regular users
Then, you have to implement the commands that are specific to operators.
Verify absolutely every possible error and issue (receiving partial data, low bandwidth, and so forth).
To ensure that your server correctly processes everything that you send to it, the following simple test using nc can be done:
./ircserv <port> <password>
fcntl(fd, F_SETFL, O_NONBLOCK);
Any other flag is forbidden.@Jack-in-42Tokyo
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.