Well I have a vb.net sockets class that acts like winsock but I need a C# one. Anyone know where I can find one with an example on usage?
Printable View
Well I have a vb.net sockets class that acts like winsock but I need a C# one. Anyone know where I can find one with an example on usage?
Why do you need a C# one? Just use your VB class. Compile it into a DLL and then reference that DLL in your C# project. You do the opposite all the time. The whole .NET Framework is written in C# and you reference those DLLs in VB projects. Part of the point of the .NET platform is language interoperability.
How do you package the dll into the C# project so when compiled it stays 1 easy to use .exe?Quote:
Originally Posted by jmcilhinney
Microsoft provide a tool called ILMerge that can be used to merge multiple .NET assemblies into a single assembly.
Ok now my last problem is that the past 2 socket classes that are like winsock haven't worked properly. the code is the same as terms of vb6 to C# but the vb6 connects to the irc fine but the C# connects but stops after finding hostname.
I'm going to guess that your thing doesn't have any stuff. With the information you've provided that's about as good a guess as I can make.
hi
I made a good socket class in C#, i use it to make a file explorer over network
here is the link to my site
http://www40.brinkster.com/Dominator...rojLang=Csharp
hope it help you.