This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Windows Service interop functions courtesy of the brilliant Martin Andreas Ullrich | |
* https://github.com/dasMulli/dotnet-win32-service - MIT license | |
* The original code has been reduced for brevity and bare basic functionality. | |
*/ | |
using System; | |
using System.ComponentModel; | |
using System.Runtime.InteropServices; | |
using System.Threading.Tasks; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Net; | |
using System.Net.Sockets; | |
using System.Threading.Tasks; | |
using System.Threading; | |
namespace TcpListenerTest | |
{ |