1287 Commits

Author SHA1 Message Date
58d5c7ede8
made getting socket length more fancy 2023-02-22 11:03:15 +01:00
ba6aacb1b4
fixed deallocation order in why2_communicate_thread, again 2023-02-22 10:54:41 +01:00
66add23df5
fixed deallocation order in why2_communicate_thread 2023-02-22 10:47:14 +01:00
2c051f2cb2
fixed why2_communicate_thread thread id problem 2023-02-22 10:42:11 +01:00
4a298b94b3
added thread deallocation to chat-server 2023-02-22 10:36:37 +01:00
49978a8a53
changed why2_connection::thread type to UL 2023-02-22 10:33:42 +01:00
a5ec2c936b
added thread cancelling to why2_clean_threads 2023-02-22 10:19:36 +01:00
128cba4bf9
implemented why2_clean_threads in chat-server 2023-02-22 10:17:54 +01:00
459329e0d0
defined why2_clean_threads
meow
2023-02-22 10:16:01 +01:00
2b790a21fe
declared why2_clean_threads 2023-02-22 10:11:36 +01:00
b4c0af2739
implemented why2_connection_t in linked list 2023-02-22 10:09:58 +01:00
493724626c
created why2_connection_t struct
contains connection and pthread_t
2023-02-22 10:03:49 +01:00
736cd82240
removed why2_register_connection function 2023-02-22 10:01:03 +01:00
fbaef61ebc
removed client test print 2023-02-22 09:57:41 +01:00
1e7fbc03a8
added way to stop server 2023-02-22 09:56:23 +01:00
5a9073f595
fixed reading size
socket probably read wrongly
2023-02-22 09:43:12 +01:00
cbcfaaae92
added why2_read_socket invalid size TODO 2023-02-21 19:53:00 +01:00
ab46803a91
fixed why2_send_socket's send size 2023-02-21 19:48:28 +01:00
4b85ba17dd
why2_accept_thread param typo fix 2023-02-21 19:48:07 +01:00
54d90c7001
added missing parameter to why2_accept_thread 2023-02-21 19:38:15 +01:00
97e2d1d097
moved accept-loop to why2_accept_thread 2023-02-21 19:34:40 +01:00
89885de21e
added common todo 2023-02-21 19:29:08 +01:00
789a3ad09b
fixed sent size 2023-02-21 19:22:01 +01:00
c47c9ffece
moved registering connection to new thread 2023-02-21 18:59:44 +01:00
924c840e0d
fixed why2_read_socket allocation sizes 2023-02-21 15:38:00 +01:00
03418e7494
added server enabled message 2023-02-21 15:05:31 +01:00
1e77ff2878
typo fix 2023-02-21 15:00:59 +01:00
ad9f4b8f2d
implemented linked list in chat-server 2023-02-21 12:41:35 +01:00
3b85c5fc5a
added NULL check to all remove_node functions 2023-02-21 12:39:54 +01:00
f31216f387
added "why2_" at the beginning of chat-misc functions' identificators
i forgor again
2023-02-21 12:33:53 +01:00
4623f76f97
defined register_connection 2023-02-21 12:31:27 +01:00
0c632fce0e
created connection linked list in chat-misc 2023-02-21 12:30:58 +01:00
36b5ac7cfc
added license to common's top 2023-02-21 12:29:04 +01:00
ea15a24ed3
declared register_connection function 2023-02-21 12:26:27 +01:00
9f2ddb13dd
removed unused includes 2023-02-21 10:56:46 +01:00
22ff5a3e7d
moved server functions into why2-misc 2023-02-21 10:53:09 +01:00
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