Jeffrey M. Barber

Tombstone

ZenerdOverlapppedServer

May 2001 – Jun 2001 · age 19

What it was

A TCP server skeleton built to learn how to hold many connections without a thread per client, written in C++ against Winsock 2's overlapped I/O and shaped closely on the Platform SDK sample. The name has three p's throughout, and it is kept that way. Each client got a record holding its socket, an 8,124-byte buffer, an overlapped structure, byte counters and a phase field. An accept loop posted the first receive for each new client and rang slot 0 of a shared event array as a doorbell. A worker thread slept on all 64 events in one call, woke with an index, collected the result, compacted the arrays when a socket closed, printed whatever arrived to the console, and posted the next receive. The send and close paths were stubs. The protocol was going to be decided later, and later never came.

Wins, for the age

What it taught

Genealogy

Ancestors: none on record. A study piece, built from the platform's own sample. Descendants: Async Serialization: asynchronous sockets with an actual protocol on top, a year later.

Epitaph

Here lies ZenerdOverlapppedServer, spelled with one p too many and finished with one protocol too few.