http协议的服务器例程,在Linux下编译后使用浏览器登陆127.0.0.1即可浏览网站,网站的默认根文件在/var/www/下,可以自己配置文件进行设置。具体方法参见源码。-http protocol server routines in the compiler under Linux to use the browser to browse 127.0.0.1 landing site, the default root file in/var/www /, you can set their own configuration files. See the source specific methods.
运用安全套接字协议实现安全隧道。这是专为那些不具有外部IP地址却仍想实现互联网服务的人设计的。服务器被置于一台拥有公网地址的计算机上。客户端运行在防火墙/网关后的某台计算机上。这使得客户端可以访问互联网。运行服务器端进程无需超级用户特权。也无须使用任何其他进程或线程。-use Secure Socket security agreement tunnel. This is designed for those who do not have external IP addresses still wants to achieve Internet services in the design. Servers are placed with a public address on a computer. Client runs on firewall/gateway of a computer. This enables the client to access the Internet. Process server running without superuser privileges. No need to use any other processes or threads.