Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zpnst/fast-server
Client-server application with hash table
https://github.com/zpnst/fast-server
client-server hash-table linked-list socket-programming unix
Last synced: 1 day ago
JSON representation
Client-server application with hash table
- Host: GitHub
- URL: https://github.com/zpnst/fast-server
- Owner: zpnst
- Created: 2023-11-25T19:43:04.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-11-26T12:44:56.000Z (about 1 year ago)
- Last Synced: 2024-05-11T21:37:34.890Z (9 months ago)
- Topics: client-server, hash-table, linked-list, socket-programming, unix
- Language: C++
- Homepage:
- Size: 21.5 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fast Server
## Structure
This is a client-server application in which the hash table acts as a server buffer.
To deal with collisions inside the hash table, a doubly linked list was chosen.
## Customers WindowHere you can see the consistent interaction of clients with the server.
To finish working with the server, the client must write %stop.
The client can also end the server session by writing %shutdown.
![image](https://github.com/zpnst/fast-server/assets/105946529/6c24232f-2d12-4023-bd0e-b74542e62c80)In this example, a client named Incognito ended the server session by writing %shutdown.
## Server Window
Here we can see the output of the program company.cpp
![image](https://github.com/zpnst/fast-server/assets/105946529/e86208ec-a1d2-4895-bc49-db855d0cb4dd)
![image](https://github.com/zpnst/fast-server/assets/105946529/78feff72-94aa-4ce2-8da3-803b3c3938c7)First, all records of the server buffer (hash table) were shown.
Next, a search was made for a client who would write these messages in one session: Hello, World, UNIX
At the end, the client was searched by name Linus Torvalds.## Thanks for reading!!!