852 Commits

Author SHA1 Message Date
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
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
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
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
dcc4198e58
moved die function to core-misc 2023-02-09 18:49:04 +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
d151c6515c
looped accepting sockets 2023-02-09 18:25:45 +01:00
19f60173c9
added garbage collector run to die function 2023-02-09 18:19:28 +01:00
9156d850a9
included stdlib in common 2023-02-09 18:16:05 +01:00
64e5c830b2
simplified chat-server
it's just listening now, do not use this yet pls
2023-02-09 17:57:24 +01:00
135813ed67
defined die function 2023-02-09 17:53:42 +01:00
67b8f546fc
added license to chat-files 2023-02-09 17:19:49 +01:00
a68a11d371
created basic server & client code
Oh, did I say "created"? I meant stole :)
2023-02-09 17:04:11 +01:00
6348fab4d9
created new why2-chat module 2023-02-09 09:09:26 +01:00
b57cd2b827
created logger-app source file 2023-02-08 19:45:21 +01:00
e0f0ad73b5
implemented why2_generate_key type change 2023-02-08 19:32:22 +01:00
6e3599ca74
changed why2_generate_key type to char* 2023-02-08 19:31:46 +01:00
d304b811da
renamed memory_identifier in why2_generate_key 2023-02-08 19:26:54 +01:00
e92c2f4d9d
fixed (possibly) invalid symlink path in why2_init_logger
fuuck I was using different variable REE
2023-02-08 19:09:56 +01:00
049cdbef98
moved WHY2 include down in logger-test 2023-02-08 14:52:27 +01:00
34a387f032
fixed why2_clean_memory memory leak
I was trying to use deallocated node, so yeah
2023-02-08 10:32:03 +01:00
a2492aa124
merge remote into development 2023-02-08 09:49:29 +01:00
ff1b95748c
removed uunsed includes 2023-02-08 09:41:14 +01:00
44941a1b05
implemented why2_opendir
shit it works

no memery lekz

LET'S FUCKING GO
2023-02-06 17:00:19 +01:00
bdd947fc64
defined why2_opendir
fuck if this is gonna be painful as the last memory functions, I'm gonna hang myself
2023-02-06 16:58:14 +01:00
7d79ee29eb
added some useless NULL check 2023-02-06 16:52:08 +01:00
4a1d77175e
removed remaining part of why2_open-related commits 2023-02-06 12:50:59 +01:00