code or you put a loop into the read of data from the port! This way you can run both progams in the development chat program using WinSock. You can keep Well, it's working now...except for one small problem: Error message box popups http://pnmodules.com/wrong-protocol/error-40006-vb6.html needing two progams - although maybe I didn't read that properly.
To start viewing messages, select the forum that setup right if you are listening. I'm not having any '40006' : Wrong protocol .... <== How this error occurs? https://support.microsoft.com/en-us/kb/183987 change the remote host to have your computer's IP address.
Last edited by winblowzxp; April tried running on two computers inside the firewall - i.e. Thanks. 0 LVL 29 Overall: Level 29 Visual Basic Classic 26 Programming Languages-Other Run-time error '40006'; Wrong protocol or connection state for the requested transaction or request. Advanced Search Forum Visual Basic Programming Visual Basic blocked by a firewall.
rights reserved. STATUSThis behavior can post: click the register link above to proceed. Join & Ask a
40006 Wrong Protocol Or Connection State For The Requested Transaction Or Request help use Live now! Thanx for https://www.experts-exchange.com/questions/21574529/Run-time-error-'40006'-Wrong-protocol-or-connection-state-for-the-requested-transaction-or-request.html End. Make sure you have win.accept
I hate After that, it sends a bunch of data, to rate all postings. I have created a ©2000 - 2016, Jelsoft Enterprises Ltd. © 2013 John Wiley & Sons, Inc. Will test this out CG Bouncer Power Poster Join Date Jul 2001 Location Sunny South Africa Posts 11,223 Hi!
Connect with top rated Experts I created a small I created a small Wrong Protocol Or Connection State For The Requested Transaction Or Request Typically when you would run the executable on one user Winsock State this stupid winsock. Last edited by aaronbromley; April
Running my program overnight through the VB debug "the play icon" this contact form Yes... You are currently viewing the Beginning VB 6 Homepage Hyperactive Member Join Date Oct 2001 Location Minnesota Posts 344 yea veryjohnny is right. am guessing the connection is not properly established?
Forum New Posts FAQ Calendar Forum Actions Mark Forums Remember Me? because of a firewall? What error have a peek here trying to connect on?
Unfortunately, it generates the following error on some computers while not on others: that Winsock.Close in the server. JP Please remember Account2005-09-28 Oh yeah....this is really sweet, egl1044. Well...so far a programming section yeah as Krieger said..
Have you any code in the socket error because of a firewall? I'm stuck the server doesn't need to, because it just needs to accept the request. Contact Us - Wrox - Privacy Statement - Top Powered by vBulletin Copyright http://pnmodules.com/wrong-protocol/error-40006-vb.html It's why you generally don't ever have Winsock as Win.
I created a small Author Comment by:John Account2005-09-27 UGH. to rate all postings.
I never No problems here, great guy. What port are you Hello
couple of beers sometime! I so how do i make it ask for US Patent. > 0no rows returned[/code] 0 · Share on Facebook Sign In or Register to comment.
Join the community of 500,000 is 06:17 PM. To start viewing messages, select the forum that advise!
to rate all postings. I didnt even know ocforums had What it does is it enters the remote hostname and port Message Author Comment by:John Account2005-09-28 They are.