"Cyber Management System The system consists of 2 modules: Client and Server. The server module is responsible for managing settings and client requests. On the other hand, the client component provides clients with internet access to the location's services. Both these parts have separate source code and run in sync with one another. The cyber management system can be programmed by utilizing the advanced features of C, such as socket programming and multithreading. Topics covered: Socket Programming (basics), multithreading."
In this project, socket programming was used to connect the server and the client. After the server and the client components connected successfully, the client sent the text file “cyber.txt” generated by the “cyber_system.c” program to the server; the server sync the text file and converted the received file to a new text file named “cyber_received.txt”.
This project includes the following files:
- cyber_system.c file: providedfortheusertogenerate,manipulateandstorethe student data if they log in with correct username and password. The final student data was saved in cyber.txt.
- client.c and server.c: contains codes for connection with socket programing and methods to send file and receive file.
- the server component accepts the connect request from the client and syncs the file sent by its connected client, and the received file is named "cyber_received.txt".