Go Down

Topic: Communicating from PC to Arduino w/ Ethernet Shield (Read 1 time) previous topic - next topic

PaulS

Quote
The browser can only listen to the data and not send them.

Really? So how are you getting posts to the forum?

FairUse


Quote
The browser can only listen to the data and not send them.

Really? So how are you getting posts to the forum?


Each link is a request for data to be sent from the server.
How do you send a string, say "ABC", to a known destination from a browser?

PaulS

Quote
Each link is a request for data to be sent from the server.

The browser parses the URL, extracting the host name and other parts. Then, it opens a socket on the port specified and streams the data to the host. The http protocol defines what that data should consist of, and the order of the data that makes up the request.

In the end, though, there is just some bytes written to a socket, and a response arrives at the same socket.

Go Up