(Show all Socket articles . . .
Headlines | Linux | Apps | Coding | BSD | Admin | News
Information for Linux System Administration 

Tutorial: UDP socket based client server C programs


This short and sweet tutorial has the example C source code for both a UDP client and server.
This article explains how to write a simple UDP client/server system in C for the Linux or Unix platform. Writing client-server applications using UDP sockets is considered very easy, yet we sometimes miss some essential steps, which results in spending more time in intense debugging sessions. I went through one such experience. It is quite hard to remember all the socket API details quickly without having to wade through tons of man pages, so this page lists the standard code for UDP Client Server program. I hope it will be useful for others, too.
[The original article has gone offline and the link has been replaced by a working page. -Ed.]
 read more | mail this link | score:8764 | -Ray, February 23, 2004 (Updated: August 24, 2008)
More Programming articles...

Decorate your home or office with Fine Art

coding headlines


Firefox sidebar

Site map

Site info

News feed


(to post)


Articles are owned by their authors.   © 2000-2012 Ray Yeargin