General information
Category:
Coding, syntax and commands
Environment versions
Network:
Windows 2003 Server
Hello Keith,
>> Does the service need the "never-ending stuff" to intialize?
No, the service initializes, then goes into a never-ending loop. More precisely, it listenens for socket connections. So what I'm doing now is initializing in OnStart, then start a thread (also in OnStart). The thread's method is a never-ending loop that blocks on Socket.Listen, then continues once a connection is accepted, loops and waits for the next connection.
Is this the same idea as your suggestion?
Thanks,
Mike
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only