0% found this document useful (0 votes)
37 views12 pages

Client Socket Closure on Blank Message

The document describes the behavior of a client socket that closes when a blank message is sent from the client, resulting in disconnection from the server. It also outlines various HTTP methods including GET, POST, PUT, PATCH, and DELETE, detailing their functions in web communication. Additionally, it mentions running a file and accessing a URL in a browser to view the created web page.

Uploaded by

squidgameee001
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
37 views12 pages

Client Socket Closure on Blank Message

The document describes the behavior of a client socket that closes when a blank message is sent from the client, resulting in disconnection from the server. It also outlines various HTTP methods including GET, POST, PUT, PATCH, and DELETE, detailing their functions in web communication. Additionally, it mentions running a file and accessing a URL in a browser to view the created web page.

Uploaded by

squidgameee001
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

here code is such that when blank message from client then client socket will close and

client will disconnected from the server.


here when blank message sent from client, it close the client socket.
HTTP Methods

GET - retrieve some information to be READ by the client/user


POST - CREATE a new resource with information contained in the request
PUT - UPDATE an entire resource with information contained in the request
PATCH - UPDATE a part of a resource with information contained in the request
DELETE - DESTROY a resource, typically indicating that it is removed from the database
Run the file and then open the url in browser will show you the web page you created.

You might also like