Skip to content

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.

Notifications You must be signed in to change notification settings

wakskevin/socket-programming-with-c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C/C++ Network Programming Projects Overview

  • There's essentially two types of C programs in this repository

    1. 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
    2. 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

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

No packages published