[prev in list] [next in list] [prev in thread] [next in thread] 

List:       twsocket
Subject:    Re: [twsocket] Using TWSocket udp listening in Windows
From:       "Francois PIETTE" <francois.piette () skynet ! be>
Date:       2010-02-18 17:53:40
Message-ID: 9DB0445407D24BE2B31357E1E4EC1D7C () ovb ! local
[Download RAW message or body]

> I wonder is it possible to use TWSocket in Windows service
> application?

Yes, see sample OverbyteIcsSvcTcp

> I tried the same code as in udplstn.dpr and can't make it
> work. I guess it could be related to the fact that windows messages
> used to signal socket events and it may not work in service. Am I
> right?

Sort of. You need a message pump in the service apllication. See the sample 
I mentioned above.

--
francois.piette@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic