dns_server.zip
snippets · 4.6 KB · 2010-03-30
Pthread replacement DNS system for PGPlus (dns_server.c).
Download « Back to the snippets list
readme.txt
Welcome to the Pthread replacement DNS system for PGPlus. Normally this paragraph contains all the licence mumbo jumbo, however as I can't release this under the GPL and remain fully compatable with the PGPlus licence, this code is therefore to be considered to inherit the same licence as the PGPlus version your installing into. Please note this system uses Pthreads to overcome the problem of a slow lookup holding up potentially quicker lookups. Most linux distributions ship with the required library, however some may not. The easiest way to check is to compile the server, and if it doesn't report any errors then move on to modifying the talker files. If it does report problems then you need to bug your system administrator to install the Pthread library's. This code has been tested only against PG+1.0.11, from memory I can't think of any reason why it shouldn't install into a 1.0.10 or 1.0.9 or earlier version, however I can't think of any valid reasons why your not using the latest version, so if it foobars an earlier version tough! Notes and credits: init_pthread_server() is based very much on init_ident_server() from the ident distribution, so credit where its due. Thanks to comp.programming.threads who critiqued the first version of the code. Stratocaster@Downtown who tested the installation notes and spotted my slight ommission. Anthony McDonald aka Lokie
Archive contents (3 files)
| File | Size |
|---|---|
| readme.txt | 1.4 KB |
| install.txt | 5.3 KB |
| dns_server.c | 5.3 KB |