|
-
May 6th, 2007, 02:06 PM
#1
Thread Starter
Frenzied Member
[2.0] sockets class?
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?
Last edited by high6; May 11th, 2007 at 02:21 PM.
-
May 6th, 2007, 07:19 PM
#2
Re: [2.0] sockets class?
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.
-
May 11th, 2007, 02:22 PM
#3
Thread Starter
Frenzied Member
Re: [2.0] sockets class?
 Originally Posted by jmcilhinney
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?
-
May 11th, 2007, 09:33 PM
#4
Re: [2.0] sockets class?
Microsoft provide a tool called ILMerge that can be used to merge multiple .NET assemblies into a single assembly.
-
May 12th, 2007, 12:57 PM
#5
Thread Starter
Frenzied Member
Re: [2.0] sockets class?
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.
-
May 12th, 2007, 11:08 PM
#6
Re: [2.0] sockets class?
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.
-
May 16th, 2007, 11:44 AM
#7
Lively Member
Re: [2.0] sockets class?
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.
.........................................................
John F. Gouda {A.K.A}{Dominator Legend}
Software Engineer
+20-0125113313
.......................................................
Please feel free to download my projects:
Http://DominatorLegend.Co.Nr
.................................................................................................... ................................................................................................
Direct Library | Speech Library | System Locker V.3 | Magic Encryptor | And many many more, follow the link above...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|