1251 Commits

Author SHA1 Message Date
a51cfae3b0
removed Makefile linking TODO 2023-02-21 10:47:14 +01:00
c0daeef31a
added why2-chat library compilation to Makefile
few changes heehee
2023-02-21 09:58:28 +01:00
0244536836
added missing license to why2-misc files 2023-02-21 07:59:09 +01:00
7123e88f97
moved send_socket into chat-misc 2023-02-21 07:58:12 +01:00
50a3a934d6
created misc source & header 2023-02-21 07:52:30 +01:00
04f3223fdb
moved chat-related files into main directory 2023-02-21 07:48:50 +01:00
c18e81ab7b
removed finished TODO 2023-02-21 07:42:31 +01:00
f185d89bc2
added underline to client startup 2023-02-21 07:41:35 +01:00
76448104b7
fixed compilation problems
linking library fok
2023-02-21 07:38:38 +01:00
54a039a60b
added IP select at client startup 2023-02-20 19:34:58 +01:00
2fb4c739b2
moved deallocation into communicate_thread 2023-02-20 19:26:08 +01:00
7e77f6ffda
added connect & exit messages 2023-02-20 19:19:40 +01:00
62fc06ab52
added way to exit client 2023-02-20 19:09:55 +01:00
5b855d21bd
added missing addr to client 2023-02-20 19:02:50 +01:00
97337f06db
keeping communication thread alive for MAX 24h 2023-02-20 18:58:32 +01:00
73a7be454b
moved communication to separate thread 2023-02-20 18:32:39 +01:00
daf6258222
preventing server from dying of invalid chars 2023-02-20 17:13:02 +01:00
7317e1da82
missing newline fix 2023-02-20 17:11:04 +01:00
fe8563ff5e
added pthread to common 2023-02-20 17:00:40 +01:00
368c57c285
looped client sending && TODOs 2023-02-20 14:12:26 +01:00
faa63577ee
optimized includes 2023-02-20 12:28:42 +01:00
6687d6e622
added content length to first two bytes of sent text in why2-chat 2023-02-20 12:27:50 +01:00
3a4f5ed7b6
added empty content check to read_socket 2023-02-18 17:05:30 +01:00
72305929b2
added invalid socket check to read_socket function 2023-02-15 20:06:08 +01:00
b52f86a9a6
merged remote development into local 2023-02-15 19:57:38 +01:00
de739b2121
simplified returningText generation in encrypter
fixed the weird strcat there
2023-02-15 19:43:08 +01:00
769bed7b18
changed read_socket's read usage to recv 2023-02-10 10:22:20 +01:00
7a450a19c4
added void parameter to chat-logger's main 2023-02-09 19:51:41 +01:00
e77e578be8
fixed read_socket memory problems 2023-02-09 19:46:38 +01:00
7b51acba52
implemented MAX_CONNECTIONS 2023-02-09 19:44:55 +01:00
01770f1f8d
defined MAX_CONNECTIONS in common 2023-02-09 19:42:38 +01:00
6f392c498d
fixed read_socket problems 2023-02-09 19:41:12 +01:00
649997088b
fixed server loop 2023-02-09 19:32:54 +01:00
6160ddbfad
renamed client's variables to snake_case 2023-02-09 19:28:06 +01:00
ccdc748dc9
added some basic test code to chat-client 2023-02-09 19:24:21 +01:00
611588dae8
created buildChat rule 2023-02-09 19:23:28 +01:00
f132844419
implemented why2_die in chat-server 2023-02-09 19:18:46 +01:00
2ea515ba38
fixed why2_die undefined reference 2023-02-09 19:15:27 +01:00
51f547d9df
added back removed include to misc 2023-02-09 19:00:27 +01:00
d261038c2c
added core-misc include in common 2023-02-09 18:50:05 +01:00
dcc4198e58
moved die function to core-misc 2023-02-09 18:49:04 +01:00
59b040d26e
declared why2_die 2023-02-09 18:47:42 +01:00
1e12e7a04f
removed SEND_LENGTH define 2023-02-09 18:45:19 +01:00
b7b902d542
implemented read_socket in accept-loop 2023-02-09 18:42:23 +01:00
c9c4f4bfd3
changed die function exit code to 1 2023-02-09 18:37:15 +01:00
edbe534a1f
created read_socket function 2023-02-09 18:36:51 +01:00
e859087763
included string in common 2023-02-09 18:27:50 +01:00
d151c6515c
looped accepting sockets 2023-02-09 18:25:45 +01:00
db0e862c6d
changed SERVER_PORT TO 1204 2023-02-09 18:23:54 +01:00
19f60173c9
added garbage collector run to die function 2023-02-09 18:19:28 +01:00