Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: error 40006 sckbadstate wrong protocol


Message #1 by "anthony" <awards@w...> on Sat, 31 Aug 2002 23:11:29
Hi,

My Visual basic program finally communicates (Via WINSOCK) or contact the 
server written in perl "Locally" on 127.0.0.1, Now each time i try to send 
data (no connecting) i get
The error 40006 this is what MSDN says
sckBadState || 40006 || Wrong protocol or connection state for the 
requested transaction or request. 

Now since i'm sending data to a Perl Program, I think I should format 
somehow the string in visual BAsic??
Or should i use something different that winsock? 
Since i get this problem the data is not being sent, but In perl i'm 
making something to print if it hears something or something gets 
connected.

Would appreciate any help as always and like everybody :-)

Anthony

  Return to Index