Client-server model example with UDP sockets in C programming languaje.
Compile the code:
$ make
Run the server:
$ ./server
Run the clients:
$ ./client <ip-server> <operation> [id]
- ip-server: ip of the server
- operation:
- add new record into the registry
- read record from the server
- remove record from the server
- id: record to manipulate.
Example, insert record miRecord123:
$ ./client 1.2.3.4 1 miRecord123