Skip to Content

example code: socket server and client using select()

posted 30 Aug 2008

I spent the last hour re-familiarizing myself with Unix sockets via man-pages and HOWTOs. I have written client/server socket apps a dozen times before but because of iterative development I no longer had a simple example lying around.

To save myself this trouble in the future I created a little socket client and server for future reference. This app allows you to have a Twitter style conversation (140 char limit) with everyone on your system who has permissions to the Unix socket! Perhaps the Unix shell is the next micro-blogging platform. ;)

blog comments powered by Disqus

About

Brandon Philips by Mujtaba Ali

ifup.org is the weblog of Brandon Philips and contains excerpts from my code, work and play.

I write Linux software and work on the systems layer of Linux. In the last two years I have helped to organize Linux Plumbers Conf and Freedom HEC Taipei. It has been rewarding to bring together these communities to discuss current Linux issues.

Robotics is another passion and I had the opportunity to mentor a FIRST Robotics team in Portland recently too. I also continue to work with my friend Ron Jackson to build some neat USB devices for robotics.