Tag Archive

Clone Wars

Published on January 26, 2013 By Noah.Davids

In this post I wish to discuss a common coding error that can result in a module running out of or at least seriously depleting the available number of stcp device clones for use in creating TCP sockets.

The Importance of -1

Published on October 29, 2012 By Noah.Davids

Don’t worry, despite the title I haven’t reverted to math nerd mode. The topic is not number theory but socket programming and a coding mistake that I have seen way too often. The code fragment in figure 1 demonstrates the mistake. There is a main while loop that loops forever calling select and waiting for [...]

Technical Webinar on Porting Open-Source code to OpenVOS

Published on September 29, 2011 By Paul Green

Did you miss the webinar? Well, we have the video right here for you! Watch an overview of the steps that you can follow to port open-source code to the Stratus OpenVOS operating system. I review the OpenVOS POSIX environment, explain how to find and download open-source packages, discusses the process for building and installing [...]

Sharing the Load – Multiple Processes Listening on the Same Port Number

Published on August 1, 2011 By Noah.Davids

Under STCP when you have multiple processes listening on the same port number only the first process that bound to the port number is notified when a connection is requested. One common way to slip around this restriction is to close the listening socket when a connection is completed and then create a new socket [...]

What’s in a hostname?

Published on April 11, 2011 By Noah.Davids

Ever wonder how STCP knows what its name is? In the >system>stcp directory is a file called host. The file contains one line which is the name of the module. You can edit or display the file directly but I recommend that you use the hostname command. Without arguments it will display the contents of [...]

//pardot tracking code