Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: MyndFyre on November 25, 2003, 09:01 PM

Title: Webbot Question
Post by: MyndFyre on November 25, 2003, 09:01 PM
This may only be distantly related to Bnet bot development, but I think it's related enough to post here.

The Webbot is quite impressive.  I've been working on a way to do it myself using ASP.NET - but I am concerned that people who sit and constantly refresh will eat up my bandwidth limit very quickly.  So my question is - how do you do it?  I would imagine the bandwidth costs, even on your own server, have to be relatively high.

Thanks!
Title: Re:Webbot Question
Post by: Spht on November 25, 2003, 09:07 PM
It's all text-based and vL server has plenty of bandwidth.

Edit - I can't give you any programming tips because the WebChannel service (written by Skywing) which WebBot uses is what handles all connections and the distribution of channel activity.
Title: Re:Webbot Question
Post by: ObsidianWolf on November 25, 2003, 09:10 PM
on the other hand I have plenty of knowledge to share on such, PM me.
Title: Re:Webbot Question
Post by: Spht on November 25, 2003, 09:12 PM
Quote from: ObsidianWolf on November 25, 2003, 09:10 PM
on the other hand I have plenty of knowledge to share on such, PM me.

Or just share with everyone in this thread if you want to be helpful.
Title: Re:Webbot Question
Post by: MyndFyre on November 25, 2003, 09:17 PM
Do y'all pay for a web host, or does someone have a direct connection at home?  :-)
Title: Re:Webbot Question
Post by: Maddox on November 26, 2003, 02:08 AM
Quote from: Spht on November 25, 2003, 09:12 PM
Quote from: ObsidianWolf on November 25, 2003, 09:10 PM
on the other hand I have plenty of knowledge to share on such, PM me.

Or just share with everyone in this thread if you want to be helpful.

Ironic.
Title: Re:Webbot Question
Post by: iago on November 26, 2003, 08:43 AM
The way it works is that the servers sends its own http headers, but (I forget) either sends conten-length: 0 or skips content-length all together, so, as they're watching, it continually sends data and the browser constantly streams it, without the need to refresh.

The channel-list, on the other hand, does refresh.  But note that it's only a few bytes, and it's much more costly to view a forum page than that.
Title: Re:Webbot Question
Post by: MyndFyre on November 26, 2003, 11:13 AM
Quote from: iago on November 26, 2003, 08:43 AM
The way it works is that the servers sends its own http headers, but (I forget) either sends conten-length: 0 or skips content-length all together, so, as they're watching, it continually sends data and the browser constantly streams it, without the need to refresh.

The channel-list, on the other hand, does refresh.  But note that it's only a few bytes, and it's much more costly to view a forum page than that.

Interesting.  Thank you!