I am trying to venture in something quit new to me and will like to know if it is possible to call a c-function from a Perl script.
Say I have a VS C project I have created. Included in the VS project I have a function call createSocket(). This c-function when called, triggers a TCP/IP connection with my Perl module say ModuleA. In ModuleA, (that is Perl) can I call a doSomething() c-function that resides in my VS project that will inturn call createSocket().
If it is possible, can any monk kindly demonstrate how I can go about doing that?