-
There's essentially two types of C programs in this repository
- a client server program which implements a class registration platform. The program should allow the user to register themselves by entering their details which include the student registration number and names. The program should maintain a list of registered students in a text file with the following format. No double registrations
- a client server program which implements a simple calculator. The calculator can perform the following operations (+, -, ×, /) chosen by the user on any two integers supplied by the user.
-
Each of these programs have tcp (connection-oriented) and udp (connectionless) implementations.
-
Furthermore, those implementations each have concurrent versions and iterative versions
-
To achieve concurrency, the following techniques have been employed:
a) Use of fork() function
b) Use of select() function. Note that select() has only been implemented for concurrent-oriented (tcp) versions.
c) Use of threads. Note that servers implemented with threads are of .cpp file extension and not .c
-
Notifications
You must be signed in to change notification settings - Fork 0
C client server programs which implement a class registration platform, and a simple calculator. The programs have been implemented in a variety of ways: Iterative connection-oriented & connectionless, concurrent connection-oriented & connectionless. To achieve concurrency, a number of techniques are employed: fork(), select() and threading.
wakskevin/socket-programming-with-c
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
C client server programs which implement a class registration platform, and a simple calculator. The programs have been implemented in a variety of ways: Iterative connection-oriented & connectionless, concurrent connection-oriented & connectionless. To achieve concurrency, a number of techniques are employed: fork(), select() and threading.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published