简体   繁体   中英

Creating a Windows Service for Windows 8 to use TCP/IP as soon as booted

On other windows operating systems, I could create a Windows Service that listens to TCP/IP for any communication (like a PBX for example) through sockets.

But, how would i handle this in Windows 8? Applications can't run there all the time and when Windows 8 Metro starts up, applications for the normal desktop aren't running.

I need this service to start up all the time in any situation as soon as the computer starts up...

I also need http://pcapdotnet.codeplex.com an open source project to analyze the network...

What's the best future proof practice in an enterprise environment?

I don't have any Windows 8 experience on me yet.

Try this: If you make your windows service depend on something like the computer browser or could be the workstation service. The net connection should be up then.

You have to code this dependency in (no sample on hand).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM