Wie greifen Programme auf das Internet zu?

352
Nick

Wie gelangen Programme aus Neugierde ins Internet? Zum Beispiel ist Icloud ein Programm von Apple, das automatisch Fotos, Notizen usw. von einem Apple-Gerät über eine drahtlose Verbindung mit einem PC synchronisiert. Gibt es eine bestimmte Funktion in der C-Sprache, die dies ermöglicht? Ich bin daran interessiert, drahtlose Informationen wie diese zur Steuerung von Robotern, Synchronisierungscomputern usw. in der Zukunft zu verwenden.

0
Wow, wo wollen Sie mit Ethernet, ARP, TCP / IP, UDP / IP, Standardhörenden Ports, DHCP, Sockets, DNS, HTTP, Routing, Firewalls, NAT, Sitzungssteuerung, SSL, OSI-Modell, Lastverteilung beginnen , Unix / Linux-Server, Apache, WiFi? Ich fürchte, das ist etwas für ein Buch, keine einfache Antwort auf Super User. Robert Ilbrink vor 11 Jahren 2
Sie sollten sich die Socket-Programmierung in C / C ++ ansehen. [Lesen Sie mehr] (http://www.linuxhowtos.org/C_C++/socket.htm). Bibhas vor 11 Jahren 1
Ausführliche Informationen zur Vorgehensweise in C finden Sie im Beej-Handbuch zur Netzwerkprogrammierung unter http://beej.us/guide/bgnet/output/html/singlepage/bgnet.html Aaron Jones vor 11 Jahren 0
Es ist nicht unmöglich, ein vereinfachtes Diagramm des Netzwerkstapels zu zeichnen und die wichtigsten Aufgaben jeder Ebene (physisch, Daten, Netzwerk, Transport, Anwendung) zu erläutern. Sieh nicht, warum das geschlossen ist. Ярослав Рахматуллин vor 11 Jahren 0

1 Antwort auf die Frage

3
Scott Chamberlain

This is a very big topic that can not be answered in a simple Q and A format on this site.

If you just want to write programs to talk over the internet, I would recommend learning the basics of programming. As you learn programming you will start to understand how things talk to each other and the whole "client server architecture" and programming with sockets.

If you want to learn the nuts and bolts of "How the internet works" and don't really care about the programming side, I recommend listening to the Security Now! episodes on "How the internet works". I will link the episodes directly talking about the topic but I do recommend going and listening to the other episodes in between the ones I listed (especially the Q&A episodes following each linked ep.)