Commit Graph

38 Commits

Author SHA1 Message Date
mochaoui
b7f364a862 make nc work proply with this code and add some checkes 2024-04-24 09:33:37 -05:00
Mmokane
b4e79f36ad trying to add a bot command, almost done 2024-04-24 02:35:42 +01:00
Mmokane
44f880a285 trying to add a bot command, almost done 2024-04-24 02:35:31 +01:00
bettercallous
4881feb89b fixed poll bug when exiting with ctrl+C 2024-04-23 18:11:02 +01:00
bettercallous
a21770516b optimizing server code 2024-04-23 17:58:48 +01:00
mochaoui
bb49ca3c10 add a check for the last mode . hahahaah 2024-04-22 12:17:40 -05:00
mochaoui
e266a65a0a the last mode done -l and +l the limite channel holding users 2024-04-22 10:57:42 -05:00
mochaoui
099af1ff3f make the nickname and username nicked in the server don't worry about that 2024-04-22 06:59:47 -05:00
Mmokane
11789fe633 the password mode is working, and the invite mode bug is fixed 2024-04-21 20:55:31 +01:00
mochaoui
7440b0c891 fixing some errors pull this version !! 2024-04-21 12:48:32 -05:00
mochaoui
da836982d9 make the invited user if it kicked from the channed and the channel is restrected by the +i need to be invited again to join the channel again 2024-04-21 10:53:49 -05:00
mochaoui
a8b3f537c2 the mode -i and +i about join dooooooone and work as expected 2024-04-21 09:44:14 -05:00
mochaoui
9f8a61dbe5 topic mode done 2024-04-20 13:06:05 -05:00
mochaoui
8711ebaac1 error msg 2024-04-20 12:32:04 -05:00
mochaoui
c47db99b7f just a small response 2024-04-20 12:29:03 -05:00
mochaoui
52e093f725 mode -o done 2024-04-20 11:31:23 -05:00
mochaoui
a1103a37be finish the topic commande and the invite commande 2024-04-20 10:18:45 -05:00
mochaoui
7a9f346b8b make the kick commande work proprely hahaha and handle the respense to understooddd by the client , and making the channel more pro 2024-04-19 11:39:48 -05:00
mochaoui
e1ca1fe9a7 kick commade done : kick the user from the channel 2024-04-18 15:18:53 -05:00
mochaoui
a2cf7bc4c8 responding to Ping 2024-04-18 07:12:31 -05:00
mochaoui
fb1fffabec the user create the channel X is the operator of the channel donne. 2024-04-18 06:04:10 -05:00
mochaoui
8f6bb64ff4 handling the privet msg between the users 2024-04-18 05:39:12 -05:00
mochaoui
db1e03ae5c broadcast msg done 2024-04-17 14:13:45 -05:00
mochaoui
7a54b230e3 -storing the channel in another file with the channel requirment and the client : it's when registerd in the irssi client with the pass and the nick and the user all this data stored in the client file and make the irssi client connecte with the server , after tha handle the join commande to make the user join a channel and handle the brodcast msg to all the clients in the channel 2024-04-17 06:16:22 -05:00
mochaoui
0399adf8e1 seting the uppercase 2024-04-15 10:13:30 -05:00
mochaoui
918fcca8f9 now the kick commade for the operators users work as expected i will check if there is other commade for the operators users and make the magic happend 2024-04-15 06:18:56 -05:00
mochaoui
d98bed2735 make the clear the regular and the operators users and start handling the permition and the commande of each one 2024-04-15 05:40:10 -05:00
mochaoui
05d3158f54 set a nickname, a username, join a channel,
send and receive private messages using your reference client and All the messages sent from one client to a channel have to be forwarded to
every other client that joined the channel and still need to add operators and regular users and please don't touch my code hahahaha
2024-04-14 13:56:30 -05:00
bettercallous
21f497ef0a close fds and exit the program cleanly 2024-04-11 18:02:52 +00:00
bettercallous
92ac924f0a handled reveiving data in several parts and rebuild it (data sent in parts using ctrl+D. e.g. : com^Dman^Dd) 2024-04-09 20:18:56 +00:00
bettercallous
454e32f590 fixed infinite loop when a client disconnects (remove and clean disconnected clients) 2024-04-09 03:09:14 +00:00
bettercallous
3006bfa5e2 implemented client data processing 2024-04-09 02:00:23 +00:00
bettercallous
4c1b396154 implemented processing of incoming client connection 2024-04-09 00:31:39 +00:00
bettercallous
c315be1dcd implemented primary event loop for server operations 2024-04-08 20:17:05 +00:00
bettercallous
45567b98b9 created and set up server socket 2024-04-08 11:42:37 +00:00
bettercallous
614f631723 handled signals 2024-04-08 07:40:49 +00:00
bettercallous
2fdb0eb6c4 parsed arguments 2024-04-08 07:20:11 +00:00
oubelhaj
8aece78bb2 Initial commit 2024-04-08 06:58:41 +00:00