AxInterop.MSWinsockLib.DLL and something else
Hello,
I'm pretty new to C# but I still have some questions
When I add a component called Winsock 6.0 SP5 to Visual Basic 6.0 , it has DIFFERENT event parameters (such as connectionrequest) than when I put the same component in C# :S ??? This really confuses me
Visual Basic 6 ConnectionRequest Event Winsock Params:
Index as Integer , ByVal requestID as long
C# ConnectionRequest Event Winsock Params:
int requestID
I really hope someone has an explanation for this and a fix???
Anyway I've been searching around and I also found on this forum and I found this thread:
http://www.vbforums.com/showthread.p...ht=axmswinsock
The creater of the thread uses AxMSWinsockLib
I use MSWinsockLib
Where can I get AxMSWinsockLib?
I think it should be this file but I'm not sure anymore(I searched alot): AxInterop.MSWinsockLib.DLL
Thanks I really hope someone can help me out :\
Re: AxInterop.MSWinsockLib.DLL and something else
My advice: don't use Winsock at all. That person upgraded code from VB6 that would have used Winsock originally. If you're creating new .NET code then avoid ActiveX as much as possible. The System.Net namespace contains all the classes you need for various network programming scenarios. I suggest that you find the "proper" .NET solution to your problem rather than using old technology.
Re: AxInterop.MSWinsockLib.DLL and something else
yeah well then I have to learn to work with system.net sockets and I'm actually rewriting from vb6 to C# and that vb6 used winsock
I hope system.net sockets can do the same and looks the same as winsock :P
Re: AxInterop.MSWinsockLib.DLL and something else
It can do the same and more but it looks totally different.