We will look at User Data-gram Protocol programming in this article. We will follow C-LINUX language specifications.

Our objective is to send a message from one host to another, through socket programming. We will create two programs, `Client.c` and `Server.c`.

 

Download the sample code from here.

The sample code sends a message ‘Hello World’ between the two host using UDP Socket Programming.

 

For any questions/suggestions, please comment.

Advertisements