How does assembly language interact with something like the Internet?

So, I was thinking about languages โ€‹โ€‹the other day, and it seemed to me that any program written in a compiled language that interacts with the Internet is then converted to an assembly that should interact with the Internet. I was just starting to learn a little x86 build to help me understand C ++ a little better, and I am puzzled by how something so low level can do something like Internet access.

I am sure that the complete answer to this question is much more than fits into the answer of SO, but can someone give me, perhaps, the main summary?

+5
source share
4 answers

, " " , , , API TCP/IP.

(, socket, listen, accept ..) C, , , , , .., .

, (, C) , " " ( ), , (, , -, -, ) - , () .

+12

. script, C, CGI. CGI - , . CGI , "GET", "POST" .. REQUEST_METHOD, "foo = bar? Baz = 42" QUERY_STRING, stdin .. CGI . - CGI - script. , , API- .

, . .

, , , โ€‹โ€‹ -, IO .. -, .

+2

, - PIC. - -, 8- . , - .

  • ( 2) - ethernet ( SLIP).
  • - IP TCP - TCP/IP. , .
  • - - - , - .

, .

0

, - , , (- ) - "" ( , ), " " ? , .NET ILASM/Java - , , - , .

0

All Articles