Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Look, I have a big problem.

 

I have here Windows XP Professional with Visual Studio .NET Professional Enterprise Architect 2003 on it.

 

Now, I am making an IRC-client and I need to have a Winsock Control on it.

 

When I do ctrl+T, I get the components window, where I normally can insert a Winsock Control into my toolbox.

 

But when I insert him my Environment says that I dont have the right license to use that Control.

 

What's wrong and how can I fix that problem?

 

Greetz,

 

Hornet

Guest mutant
Posted

There is a whole .NET namespace of sockets which should be used instead of WinSock control in .NET.

Check out those, both contain a lot of useful things:

System.Net

System.Net.Sockets

Posted

Good, but can you give me an example of a simple program that uses those Imports and that makes connection with an IRC server.

 

I am a newbie in those things like using Sockets.

 

In VB 6, I normally used a Winsock Control so that I easy could connect to a server or something.

 

How must I make a connection with those Imports, I dont know the right functions of it. :o

 

Greetz,

 

Hornet

Posted

I'm a complete noob in that sort of coding.

 

Can someone give a sample please. I need it for my client.

 

Greetz,

 

Hornet

Posted

Oke, maybee it's to difficult for me, but I wanna try it.

 

So I only need a Winsock Control on my form.

 

How can I do that? Can I download that socket from a website or something?

 

Greetz,

 

Hornet

  • *Gurus*
Posted

That control is not free to use. You get a license to use it if you purchase Visual Studio 6, but I wouldn't be surprised if you get unexpected results trying to use it from a .NET environment.

 

You should learn to use the Socket class instead.

MVP, Visual Developer - .NET

 

Now you see why evil will always triumph - because good is dumb.

 

My free .NET Windows Forms Controls and Articles

Guest
This topic is now closed to further replies.
×
×
  • Create New...