Re: Talking to IOCP from C#
Hi,
I have coded couple of classes implementing IOCP server functionality. I use them in my 737NG project to interface Arduino with ProSim:737. Check the link below:
http://ylmbl.ru/wp-content/uploads/2.../NGConnect.rar
Few lines to initialize class:
IOCPServer iocps = new IOCPServer();
iocps.ClientComandReceived += new IOCPComandDelegate(iocps_ClientComandReceived);
iocps.Start();
Hope it will help :)
Re: Talking to IOCP from C#
Hi there,
Thank you very much for your reply and your examples. I am going to get stuck into this the coming weekend.
Andrew.
Re: Talking to IOCP from C#
Hi Pshz11,
the link is down, do you have alternative link?
thanks...
Re: Talking to IOCP from C#
Quote:
Originally Posted by
prinwibowo
Hi Pshz11,
the link is down, do you have alternative link?
thanks...
Forgot to pay for server ((( it will be back online soon
Re: Talking to IOCP from C#
I'm looking forward...
thx
Re: Talking to IOCP from C#
Quote:
Originally Posted by
pshz11
Hi,
I have coded couple of classes implementing IOCP server functionality. I use them in my 737NG project to interface Arduino with ProSim:737. Check the link below:
http://ylmbl.ru/wp-content/uploads/2.../NGConnect.rar
Few lines to initialize class:
IOCPServer iocps = new IOCPServer();
iocps.ClientComandReceived += new IOCPComandDelegate(iocps_ClientComandReceived);
iocps.Start();
Hope it will help :)
Hi,
I tried your NGConnect code, but got a compilation error using the
iocps.ClientComandReceived += new IOCPComandDelegate(iocps_ClientComandReceived);
when initializing the class
This is the error code:
The name 'iocps_ClientComandReceived' does not exist in the current context
Any ideas what is wrong?
/Roar
Re: Talking to IOCP from C#
Hi,
You need to declare iocps_ClientComandReceived function (or any other name you wish). That's an event handler.