|
ECS-L Home Automation and Security Archives |
learn more
| view messages for this
month | NetBloc® | terms of use | search
subject (prev) or (next) |
time (prev) or (next) |
author (prev) or (next) |
view more subjects
Subject: From: Date: | Re: [ECS] Web server "events" needed ? Mark Gilmore Thu, 10 Feb 2000 10:18:46 -0500 |
Hi Rob,
I understand the port-conflict problem, but don't understand
your question: What is a "regular web server process request" ?
NOTE TO ALL: A recurring problem in all this web/javascript
stuff is that many assume that I know MUCH more than I do :-).
I happen to have a knack for tweaking working examples to my
liking. But this can give the false impression that I actually
know what I'm doing :-). So please consider this in subsequent
communications related to web-severs/JAVAScript/JAVA/CGI
(i.e. be very specific).
Tanx!
--
Mark Gilmore
Omnipotence (ECS home automation software)
http://www.usit.com/omnip
423-745-0026
Rob Hicks wrote:
>
> Hi Mark.
>
> It looks like you're making good progress.
>
> I can't speak to the read/write events, but I believe can shed some light on
> the close event, if I understand your question correctly. Older web browsers
> (and servers for that matter) tried to maintain an open session unless the
> connection was closed. If not, they maintained a "keep alive" for that
> connection and when they tried to maintain too many "keep alives" would run
> out of memory and die. Newer servers and browsers automatically time out
> each keep alive.
>
> Also, I have a question. I assume that ECS is using port 80 for HTTP.
> However, if a web server already exists on the ECS server machine, ECS won't
> be able to process any client requests because both ECS and the preexisting
> web server will be trying to listen on the same port. Have you thought about
> allowing just a regular web server process requests for ECS?
>
> Regards,
> Rob
> 801-319-1766
> robhicks@utah-inter.net
>
> -----Original Message-----
> From: Mark Gilmore [mailto:omnip@usit.net]
> Sent: Thursday, February 10, 2000 5:52 AM
> To: ecs-list@netbloc.com; Chris Armbruster; Dario
> Subject: [ECS] Web server "events" needed ?
>
> Hi all,
> In servicing web-based Client requests, the example I referenced
> defined "Events" for ACCEPT/READ/WRITE/CLOSE. I am still confused
> as to the diff btw READ/WRITE events (all I know is that when i get
> a WRITE Event, that I sometimes need to wait a second or so for I
> get the request packet from the Client). And I have YET to see a
> CLOSE Event.
>
> QUESTION:
> Do I really need these "events" at all ?
> I.E. - couldn't I just call accept() (to check for new connections)
> and recv() (to check for Client requests), and react appropriately
> (withOUT the use of these "events") ??
>
> tanx
> --
> Mark Gilmore
> Omnipotence (ECS home automation software)
> http://www.usit.com/omnip
> 423-745-0026
subject (prev) or (next) |
time (prev) or (next) |
author (prev) or (next) |
view more subjects