cygwin start IPC using cygwin server - JohnHau/mis GitHub Wiki

https://book.huihoo.com/cygwin-user-guide/using-cygserver.html https://cygwin.com/cygwin-ug-net/using-cygserver.html

run as administrator to configure cygwin server

How to start Cygserver Before you run Cygserver for the first time, you should run the /usr/bin/cygserver-config script once. It creates the default configuration file and, upon request, installs Cygserver as service. The script only performs a default install, with no further options given to Cygserver when running as service. Due to the wide configurability by changing the configuration file, that's typically not necessary.

You should always run Cygserver as a service under LocalSystem account. This is the way it is installed for you by the /usr/bin/cygserver-config script.

Error "Function not implemented" in semget using cygwin

Use cygcheck to find the package:

$ cygcheck -p bin/cygrunsrv Found 4 matches for bin/cygrunsrv ... cygrunsrv-1.62-1 - cygrunsrv: NT/W2K service initiator (installed binaries and support files)

so you need to install the cygrunsrv package

After the installation and configuration of cygserver, you can run it with:

$ cygrunsrv -S cygserver and with your program

$ gcc -Wall prova.c -o prova

$ ./prova.exe ID = 65536

$ ./prova.exe ID = 65537