PPT-Folie
netscape auf thales liest webseite http://www.uni-ulm.de
netscape: gethostbyname(„www.uni-ulm.de“) // get IP-Addr. server
fd = socket(AF_INET, SOCKET_STREAM, 0) // TCP-IP socket
sin_port = htons(80); // well-known port
sin_family = AF_INET // Internetdomain
connect(fd, [to host www.uni-ulm.de; port 80]);
write(fd, „GET / HTTP/1.0\n\n“, 16); read(fd, buf, sizeof(buf));