R Ray Lau Jun 22, 2006 #1 Dear all, How to share the socket between .net framework 1.1 and unmanaged code? Best regards, Ray
V Vadym Stetsyak Jun 22, 2006 #2 Hello, Ray! RL> How to share the socket between .net framework 1.1 and unmanaged code? Take a look at Socket.Handle property. In the managed world you'll use Socket class and in unmanaged only handle ( Socket.Handle ). -- Regards, Vadym Stetsyak www: http://vadmyst.blogspot.com
Hello, Ray! RL> How to share the socket between .net framework 1.1 and unmanaged code? Take a look at Socket.Handle property. In the managed world you'll use Socket class and in unmanaged only handle ( Socket.Handle ). -- Regards, Vadym Stetsyak www: http://vadmyst.blogspot.com
R Ray Lau Jun 23, 2006 #3 Hi, Thank you. How about share the socket from unmanaged code to managed code? the Socket.Handle problem is readonly. Best regards, Ray
Hi, Thank you. How about share the socket from unmanaged code to managed code? the Socket.Handle problem is readonly. Best regards, Ray
V Vadym Stetsyak Jun 23, 2006 #4 Hello, Ray! RL> Thank you. How about share the socket from unmanaged code to managed RL> code? the Socket.Handle problem is readonly. I'm afraid that the only way to work with the socket handle, passed from unmanaged part, will be via P/Invoke, that is Winsock API -- Regards, Vadym Stetsyak www: http://vadmyst.blogspot.com
Hello, Ray! RL> Thank you. How about share the socket from unmanaged code to managed RL> code? the Socket.Handle problem is readonly. I'm afraid that the only way to work with the socket handle, passed from unmanaged part, will be via P/Invoke, that is Winsock API -- Regards, Vadym Stetsyak www: http://vadmyst.blogspot.com