It is currently Tue Oct 16, 2018 11:38 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: WebNoter
PostPosted: Mon Mar 29, 2010 9:16 am 
Offline

Joined: Mon Mar 23, 2009 12:11 pm
Posts: 140
Location: Katoomba, Australia
WebNoter is a quick demo app I made to show off KipperKart at a local scene party this weekend. I am pretty sure this is the first c64 demo with an embedded web server :-)

Download from http://noname.c64.org/csdb/release/?id=90087


Top
 Profile  
Reply with quote  
 Post subject: Re: WebNoter
PostPosted: Mon Mar 29, 2010 5:50 pm 
Offline
User avatar

Joined: Mon Feb 13, 2006 7:44 pm
Posts: 215
Location: Toronto, Canada
Cool. I've always wanted to see networked C64 demos, i.e. several c64s working in tandem (in the same room, or worldwide). Looks like we're getting there!


Top
 Profile  
Reply with quote  
 Post subject: Re: WebNoter
PostPosted: Mon Apr 05, 2010 2:15 pm 
Offline
Site Admin

Joined: Wed Jan 11, 2006 12:22 pm
Posts: 866
Wow! That's really cool. Good job Jonnosan!! :)


Top
 Profile  
Reply with quote  
 Post subject: Re: WebNoter
PostPosted: Wed Apr 28, 2010 8:05 am 
Offline
User avatar

Joined: Tue Apr 27, 2010 11:03 am
Posts: 17
Location: Sweden
Webnoter sure is cool, and it was the first program I got working with my rr-net and home built clock port. Thanks for that!
However it was easily DOSed, I guess it only keeps one connection at a time, and if that dies somewhere it waits forever and ignore new connection.
It still answered to ping, and everything ran fine on screen. An NMI handler to quickly restart the network code or something could be an easy workaround.
I have so much more ideas for this webnoter, like new message doesn't overwrite the old and so on...

_________________
Tools: IDE64 3.2 with USB and RRNET. Toys: 1541u


Top
 Profile  
Reply with quote  
 Post subject: Re: WebNoter
PostPosted: Wed Apr 28, 2010 10:34 am 
Offline

Joined: Mon Mar 23, 2009 12:11 pm
Posts: 140
Location: Katoomba, Australia
hevosenliha wrote:
Webnoter sure is cool, and it was the first program I got working with my rr-net and home built clock port. Thanks for that!
However it was easily DOSed, I guess it only keeps one connection at a time, and if that dies somewhere it waits forever and ignore new connection.
It still answered to ping, and everything ran fine on screen. An NMI handler to quickly restart the network code or something could be an easy workaround.
I have so much more ideas for this webnoter, like new message doesn't overwrite the old and so on...


Glad you liked it. Have you also seen geoLink?

WebNoter was really just a 'proof of concept' intended to spark some interest - you can view the source code at http://netboot65.svn.sourceforge.net/vi ... iew=markup and either have a go at modifying yourself, or even use that as an example for building your own web apps. There's also (very terse) docs at http://netboot65.sourceforge.net/kipper ... erence.doc

BTW the httpd code will attempt to drop a session after 5 seconds, so 'stale' connections should eventually go away, but it's definately not 'industrial strength' :-)


Top
 Profile  
Reply with quote  
 Post subject: Re: WebNoter
PostPosted: Wed Apr 28, 2010 11:52 am 
Offline
User avatar

Joined: Tue Apr 27, 2010 11:03 am
Posts: 17
Location: Sweden
I'm still struggling with geolink, the first packet I get back from the server has the RST flag set, which geolink (or something) doesn't understand, and continues to wait until it thinks the connection attempt has timed out. Error $81
As I just got my rrnet board to work yesterday I haven't investigated the issue too much.

_________________
Tools: IDE64 3.2 with USB and RRNET. Toys: 1541u


Top
 Profile  
Reply with quote  
 Post subject: Re: WebNoter
PostPosted: Wed Apr 28, 2010 12:07 pm 
Offline

Joined: Mon Mar 23, 2009 12:11 pm
Posts: 140
Location: Katoomba, Australia
hevosenliha wrote:
I'm still struggling with geolink, the first packet I get back from the server has the RST flag set, which geolink (or something) doesn't understand, and continues to wait until it thinks the connection attempt has timed out. Error $81
As I just got my rrnet board to work yesterday I haven't investigated the issue too much.


If the remote server is sending a RST in the first packet then the remote server doesn't like the packet it got from the client to set up the session.
Some options on the server side is - the server is down, or too busy to handle new requests.
Alternatively, sometimes if you reconnect to a server after rebooting, the client ends up choosing the same 'local' port number as the last session, and the server then sees the new SYN request as being part of the last session, and gets confused then ends up reseting the connection.

The 'local' port is somewhat randomised, but there aren't many sources of entropy so the risk of 2 consecutive reboots ending up picking the same 'random' number is actually quite high.


Top
 Profile  
Reply with quote  
 Post subject: Re: WebNoter
PostPosted: Wed Apr 28, 2010 1:23 pm 
Offline
User avatar

Joined: Tue Apr 27, 2010 11:03 am
Posts: 17
Location: Sweden
I'm starting a new geolink thread....

_________________
Tools: IDE64 3.2 with USB and RRNET. Toys: 1541u


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group