Android Question WebSocket Client Library - Typemismatch on a windows-App (VB6)

Michael Müller Anywhere

Member
Licensed User
Hello,
whe I use the websocket Client Library, the connection string I receive with the demo-project with me own Server App (written in VB6) is ok:
Connection-string my server receives:
GET /ws HTTP/1.1
Host: xxxxxxxxxxxxx.myfritz.net:4750
Upgrade: WebSocket
Connection: Upgrade
Sec-WebSocket-Key: asIBtB/kYe8zBRS29Ewv1A==
Sec-WebSocket-Version: 13

But when I try to send a text, every send-request I receive another string.

I try to send the string "test" with:
Sending Text:
wsh.ws.SendText( "test")

My Server receives lines like this (every line is one attempt):

„±UYÅo&-
㉄@jЫ3
„yG¬ð"ß„
„¨ÏÃÕܪ°¡


What is wrong?

Thank you!
 

Michael Müller Anywhere

Member
Licensed User
My VB6 application needs the data directly from the Android app. That is why the server is built into the Windows VB6 application.
This server function has been working very well for my application for almost 20 years.

In the meantime I use your "AsyncStreams" without a prefix for the app. That works wonderfully ....
This also settled my request. Thanks very much.

By the way:
The VB6-application is used by rescue coordination centers.
My app sends the position and the current status from the ambulance-vehicle to the coordination center,
so they can choose the best vehicle (shortest way and free).
1631121726958.png
 
Upvote 0
Top