|
Web Standards by Mike Vollmer
HTTP Protocol The web is run on port 80. You are probably wondering what "port 80" is, right (whether you actually are or not is irrelevant)? Well, the answer is easy (not really). See, the Internet and the web are different. The Internet is the infrastructure (ie the physical wires, the server... The last trick related to web servers and port 80 is a simple one. ... So the obvious choice is JAVA:
import java.net.*;
import java.io.*;
import java.util.*; public class jhttp extends Thread { Socket theConnection; static File docroot; static String indexfile = "index.html"; public...
|
|
|
|
|
|