views:

44

answers:

1

Hi People,

I am thinking to use IOCP in perl in one of our network related code. Currently Active State Perl till 5.10 doesn't offer this feature? Is anyone aware of free module to use ASIO feature like IOCP in perl?

-Karthik

A: 

There doesn't seem to be a module for that, but it should be doable to write such a module even without hacking C using Win32::API.

Leon Timmermans
That's right. Since the network code which I wanted to plug in the IOCP feature already relies on perl socket functions, it might not helpful using Win32::API ( since you need to derive native socket handler out of perl socket handle ). I am thinking to introduce IOCP inside perl source code so I will be able to work on socket handles from perl data structure.
Kartlee