Hi !
This is just a general question about communication between programs. Yeah.. I need to do this a lot.
I was wondering if I could use a socket to communicate between two programs (both ways) if one program is in perl and the other is a console application (which I can edit). I know the two programs should "talk" and "listen" to the same socket. And by the way if I am under Windows what address family do I give to these sockets ? Oh, and the two programs are likely to be on the same computer.
I was also considering to transform my console application into a dll and call the dll function in perl. Is it possible with the standard modules ? I know there is Win32::API but I don't have it and I can't get to install it on my machine. I would also have to send arrays (5 in one of my application) to the function and return an array. Would that cause a problem ?
I've been trying to use IPC::Open2 but it does not work, so I am looking for some other solutions !
In reply to using socket with c++ by duc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |