This repository contains the code modifications for DSE3 Network Programming assignment. The modifications made are as follows:
- Modified the code to send 64-bit double precision numbers instead of 32-bit.
- Each client sends double precision values between a configured range (e.g., -v to +v). The value of
v
is informed to the client by the server in the first communication to that client. - Made the server a multi-client one. The server remembers the last 5 values reported by each client and computes a running average for each client with the last 5 reported values.
- If the average value for any client goes above 0.75*v, the server archives those instances for each client-id.
- Exchanged the following structure from client to server:
typedef struct { unsigned char id; unsigned int numElmt; double val[25]; } myMsg_t;
- Dhruba Saha - made the modifications to the code.
This project is released under the Unlicense. See the LICENSE file for more information.