next up previous contents
Next: Conclusion Up: Socket Programming Under T/TCP Previous: Socket Programming Under T/TCP

Lynx Web Browser

The Lynx web browser for Linux was modified to handle T/TCP to assess the workload involved in porting applications to T/TCP. The changes required were minimal.

In order to make code portable and include support for T/TCP where possible, checks can be made to determine if the host can handle T/TCP. The easiest way to do this is to enclose the T/TCP specific code with #ifdef's - that check if MSG_EOF has been defined:

Below is the diff file that can be used to patch lynx version 2.8. As can be seen it only required an addition of 26 lines of code.



Mark Stacey
Thu Apr 30 12:26:11 IST 1998