With this post, the mini-serie dedicated to the simple udp client server ends.
Here you will find all the working source code and the Makefile. I hope this helps network programming begginers moving their first steps.
To download the source code simply click on the following link
This is a preview of
Network programming: UDP client/server source
.
Read the full post (159 words, estimated 38 secs reading time)
Demonizing the Server
A server, to be a real server shall be able to run as a demon, it shall run in background and it shall not be linked to a terminal. To do this I'll add two functions to the simple server:
- demonize
- detachFromTerminal
The Client.
The following code contains the implementation for the UDP client application that can send data to the server explained in the previous article.
This is a preview of
Network programming: simple udp client server #2
.
Read the full post (536 words, estimated 2:09 mins reading time)
The Server.
In this small series I'll show you how to write a simple UDP Client/Server system in a Unix environment using the C language. The server waits data listening on a port specified by the user, if the received data contains ".quit." string the server exits.
This is a preview of
Network programming: simple udp client server #1
.
Read the full post (451 words, estimated 1:48 mins reading time)
Latest comments