D
Dario
I have an unmanaged library that handle many TCP/IP connections.
In my .NET application i want to test if there is input available
on these connections.
Using an existing function of the unmanaged library I'm able to retrieve
the list of Int32 socket-descriptors handled by the unmanaged library.
How can I use this list of Int32 socket-descriptors inside my C# program
to test if there is input available on these socket-descriptors?
I want to use the Socket.Select method of .NET
but this method wants a list of Socket
and I have only a list of Int32.
There is some manner to transform an Int32 socket-descriptor
into a Socket so I will be able to use Socket.Select?
Thanks for the help
-- Dario
In my .NET application i want to test if there is input available
on these connections.
Using an existing function of the unmanaged library I'm able to retrieve
the list of Int32 socket-descriptors handled by the unmanaged library.
How can I use this list of Int32 socket-descriptors inside my C# program
to test if there is input available on these socket-descriptors?
I want to use the Socket.Select method of .NET
but this method wants a list of Socket
and I have only a list of Int32.
There is some manner to transform an Int32 socket-descriptor
into a Socket so I will be able to use Socket.Select?
Thanks for the help
-- Dario