NYCPHP Meetup

NYPHP.org

[nycphp-talk] tcp/ip stack/webserver in php

John Lacey jlacey at att.net
Mon Jul 19 10:29:44 EDT 2004


ran across an interesting tidbit here:
http://www.sics.se/~adam/phpstack/

to quote his faq...
To the best of my knowledge, nobody has been stupid enough to write a
TCP/IP stack in PHP before :-)  -- a sense of humour always gets my vote

he does this in approx 600 lines of code
John

and btw -- it is php5, using 'interface', 'implements', 'private', 
'public', _construct' etc... a good learning piece especially if 
network-aware apps interest you.

and it's running on FreeBSD -- i may have to dust off my FreeBSD stuff





More information about the talk mailing list