This directory contains some experimental code that allows us to see plain TCP socket-based application, a simple HTTP web application, an AJAX-based

Search code, repositories, users, issues, pull requests...

submited by
Style Pass
2024-06-18 10:30:03

This directory contains some experimental code that allows us to see plain TCP socket-based application, a simple HTTP web application, an AJAX-based application, SSE-based application, and a WebSocket-based application in action and study the underlying application layer payloads that are exchanged between the client and the server while each application is running. All code here is minimal in nature. No encryption is used. There is very little error handling. The objective here is limited to comparing only the application layer payloads resulting from the various programs.

To see only what the payloads look like for each example application, go to section Payloads. To run the example programs on your system, continue reading with the next section.

The programs in this directory implement very simple and minimal server programs that send the server's current time to the client. The same functionality is implemented in five different ways: TCP socket program, plain web application, Ajax-based web application, SSE-based web application, and Websocket-based web application. The list below talks about these different approaches in a general manner.

Leave a Comment