Regarding windows service
i want to create a windows service,in the config file define thr list of ports.if a request is comes for any port defined in the config file ,then i want to record the request time.can any one tell how should do this?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

LisaRank #8,652 · 218 reputationPosted Feb 17, 2009, 4:21 AM EST
you can write a function which checks for the port numbers in the config file in your service installer and then get the function to fire events when you find it. this can be kept in a thread to make it run as windows service.
Thanks,
Lisa