ECS-L Home Automation and Security Archives
  learn more | view messages for this month | NetBloc® | terms of use | search

Google
 


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects

Subject:
From:
Date:
Web server "events" needed ?
Mark Gilmore
Thu, 10 Feb 2000 08:51:56 -0500

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




Services provided by [NetBloc]®! NetBloc Solutions Inc.
Terms of use. Indexing software (c) 1999 Lin-De, Inc
.