Re: [cc65] Another uIP server

Date view Thread view Subject view

From: Adam Dunkels (adam_at_sics.se)
Date: 2002-04-13 08:00:56


On Friday 12 April 2002 19.32, you wrote:
> > Our C64 server can be reached at http://tfe.c64.org/ and more
> > information, including the full source code, can be found at
> > http://dunkels.com/adam/tfe/.
>
> Unfortunately it uses non standard ports which are blocked by my firewall,
> so I cannot visit the page. This is really a pity :-(

That's definately a pity! 

The web server uses ports 80-84 and 6510 and the RTSP server runs on port 
554. The reason why the web server run on a those ports is that the front 
page uses a special overload-optimized HTTP/TCP hack that requires no 
connection state in the server. This makes it possible for the server to 
sustain a very large amount of hits. During testing, we observed that the 
server could serve nearly 8000 pages in about 30 minutes. That translates 
into 4 hits per second!

The ports 80-84 each correspond to the frames on the front page and the 
commodore logo. The server doesn't even look at the contents of the TCP 
segments it receives for those ports - it just blindly sends out a web page 
in response to any HTTP request it receives.

It is a hack, but it works in most cases.

/adam
-- 
Adam Dunkels <adam_at_sics.se>
http://www.sics.se/~adam
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2002-04-13 08:02:30 CEST