Run-time error '40006' on chat program

DemonLama
01-02-2004, 08:11 AM
Hello folks,

I keep getting an run-time error '40006' on my little chat program which I would like to use inside my program. I got the source of the program elsewhere and embedded it in my own program but now I can't get rid of the error. Anyone an idea?

reboot
01-02-2004, 09:19 AM
I'm not sure how you expect us to answer such an incredibly vague question.

AndreRyan
01-05-2004, 01:45 AM
It sounds like you're using a Winsock control, you should not use the Winsock control use System.Net.Sockets instead.

DemonLama
01-05-2004, 01:51 AM
I'm not sure how you expect us to answer such an incredibly vague question.

Ok I've written an program which includes an form with an Winsock control on it. This control will try to connect to an IP number at an certain port. But when I try to setup the connection I get this error. No matter what I change within the code.

AndreRyan
01-06-2004, 05:33 AM
Like I said, use System.Net.Sockets, because A) .Net gives more power and control then the Winsock Control and B) The winsock control is not compatible to start with, it will never work properly in a .Net application.

asgekars
01-30-2004, 08:08 AM
Hey dude try this. B4 u say ws.accept requestID say ws.close
that should do it.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum