Overview

NCG is a Network Code Generator. It takes a collection of C functions and makes them work across a network in client/server fashion.

NCG takes a slightly modified C source file as input and generates a network client/server version of the program. The server side will run as a daemon listening on a specified port. The client becomes a linkable object, or a stand alone program if you add a main() function.

The generated server daemon will accept an unlimited number of simultaneous connections. For each connection it forks a new process. Each fork, exit()s when its connection is closed.

The client may open as many servers as desired. They may be the same server on the same host or different servers on different hosts or any combination thereof.


Copyright © Thunderstone Software     Last updated: Apr 15 2024
Copyright © 2024 Thunderstone Software LLC. All rights reserved.