paint-brush
A TCP Flow and HTTP Flow Guide: Changing HTTP Messagesby@kliukovkin
7,641 reads
7,641 reads

A TCP Flow and HTTP Flow Guide: Changing HTTP Messages

by Georgii Kliukovkin7mFebruary 24th, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

The net library has a special instance Server. Let’s use that to create a server instance and tell it to listen to the port 3000 on the host. To do this, the client and server need to establish a TCP connection first. The thing is, HTTP messaging sessions work over TCP sockets. Once a connection is established, the server and client can communicate with the help of the sockets. In the old version of the protocol, there was a separate request for each request for a new connection to be established.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - A TCP Flow and HTTP Flow Guide: Changing HTTP Messages
Georgii Kliukovkin HackerNoon profile picture
Georgii Kliukovkin

Georgii Kliukovkin

@kliukovkin

Software Engineer

About @kliukovkin
LEARN MORE ABOUT @KLIUKOVKIN'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Georgii Kliukovkin HackerNoon profile picture
Georgii Kliukovkin@kliukovkin
Software Engineer

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite