|Subject:||Re: Can TIdMappedPortTCP run in NT service?|
|Posted by:||Remy Lebeau (TeamB) (email@example.com)|
|Date:||Sat, 20 Mar 2004|
"Ray Luttermoser" <rayman6…@comcast.net> wrote in message
> Can TIdMappedPortTCP run in a NT service?
Yes, just like any other Indy socket component can. WinSock works very well
in a service environment.
> If so, how?
Just use it the same way you would in a non-service project - drop the
TIdMappedPortTCP onto the service's DataModule at design-time, then assign
the desired event handlers and such, and then activate the TIdMappedPortTCP
in the service's OnStart event and deactivate it in the OnStop/OnShutdown
Can TIdMappedPortTCP run in NT service? posted by Ray Luttermoser on Sat, 20 Mar 2004