A Simple Sockets Application

A few years ago, I needed to write a C TCP/IP socket function that could be tested from a C main and also co-exist with the Informix 4GL library calls, so the function could be called from 4GL. Unlike the days I was at DEC and FTP Software, you don’t see a lot of books or articles on the subject.

As I recall, I did not see this article

http://en.wikipedia.org/wiki/Berkeley_sockets#Terminating_sockets

but instead got what I needed to write a Linux version from Advanced Linux Programming.

Now, this is all done for us in languages like Python, Ruby, Clojure, and Java. But it wasn’t once.

Advertisements

Leave a comment

Filed under C, informix

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s