News for hackers. Stuff that matters.
Re:Moving from PHP to C saved my web startup. by chrisaycock on Friday October 22, 2010 @03:17PM (#1821066)
You could store the static (non-changing) text in a couple of C strings and then call writev() to communicate everything. That would save you the step of continuously reconstructing the header.
Re:Moving from PHP to C saved my web startup. by BuckToBid on Friday October 22, 2010 @03:58PM (#1821242)
Thanks for the suggestion!