Jump to content

Vb6 Chat App

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1
Flame142

Flame142

    Newbie

  • Members
  • Pip
  • 3 posts
Hi, I'm new to VB6. A while back I thought about making a chat application, it worked... It was a client server one. Anyhoo, I recently tried again, but I have had many failures, one of which was when I tried to click the "send" button, I got this error message "Error: Wrong Protocol or connection state for the requested transaction or request".

Secondly, when I get my friend to attempt to connect through it, it didn't do anything, didn't say anything where it's supposed to.

I attached the source for you guys to have a look.

Attached Files



#2
Lop

Lop

    Speaks fluent binary

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,172 posts
Do you want me to download and test this application?

#3
some0ne

some0ne

    Newbie

  • Members
  • Pip
  • 1 posts
let me see...

#4
o0TheNerd0o

o0TheNerd0o

    Learning Programmer

  • Members
  • PipPipPip
  • 61 posts
I'm assuming your using the winsock control. That error means you aren't connected to someone/something. If you two are on the same network(lan) then it would work fine. If you are trying to test across the internet, thats where it gets harder. By default, routers block requests like this. You have to set it up and port forward requests to the listening computer. I've done this many times, and thats the only way I've found for it to work.