Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-09-29 | add func that mark connection alive or not | fadhil riyanto | |
Signed-off-by: fadhil riyanto <me@fadev.org> | |||
2024-09-29 | add pthread when handling private conn | fadhil riyanto | |
Signed-off-by: fadhil riyanto <me@fadev.org> | |||
2024-09-29 | add mutex locking while delete and add fd_sockaddr_list | fadhil riyanto | |
Signed-off-by: fadhil riyanto <me@fadev.org> | |||
2024-09-29 | fix ident and style | fadhil riyanto | |
Signed-off-by: fadhil riyanto <me@fadev.org> | |||
2024-09-29 | add del_fd_sockaddr method | fadhil riyanto | |
while data being added by increasing fdsocklist->size we decrement that variable and loop all data and jump spesific fd. and re-pack the array into new memory area that created by realloc. purpose: delete old sockaddr_in data by fd Signed-off-by: fadhil riyanto <me@fadev.org> | |||
2024-09-29 | fix sockaddr instead sockaddr_in and fix memory corruption | fadhil riyanto | |
Signed-off-by: fadhil riyanto <me@fadev.org> | |||
2024-09-29 | Add shared array that exchange data between threads | fadhil riyanto | |
Signed-off-by: fadhil riyanto <me@fadev.org> | |||
2024-09-28 | add epoll while data is available to read | fadhil riyanto | |
Signed-off-by: fadhil riyanto <me@fadev.org> | |||
2024-09-28 | add epoll | fadhil riyanto | |
Signed-off-by: fadhil riyanto <me@fadev.org> | |||
2024-09-27 | add function that install fd into epoll instance | fadhil riyanto | |
Signed-off-by: fadhil riyanto <me@fadev.org> | |||
2024-09-27 | add epoll | fadhil riyanto | |
Signed-off-by: fadhil riyanto <me@fadev.org> | |||
2024-09-27 | server_reg_sigaction: return 0 on success | fadhil riyanto | |
Signed-off-by: fadhil riyanto <me@fadev.org> | |||
2024-09-26 | add eventloop and sigaction handler when SIGINT arrive | fadhil riyanto | |
Signed-off-by: fadhil riyanto <me@fadev.org> | |||
2024-09-26 | add tcpfd field copy fd from ret | fadhil riyanto | |
Signed-off-by: fadhil riyanto <me@fadev.org> | |||
2024-09-26 | create socket, bind, and listen | fadhil riyanto | |
2024-09-26 | change getopt params | fadhil riyanto | |
Signed-off-by: fadhil riyanto <me@fadev.org> | |||
2024-09-24 | add destport and srcport params | fadhil riyanto | |
Signed-off-by: fadhil riyanto <me@fadev.org> | |||
2024-09-24 | getopt_long add mode | fadhil riyanto | |
2024-09-24 | add getopt | fadhil riyanto | |
2024-09-24 | initial | fadhil riyanto | |