• 0

C# Socket Server w/ VB6 Winsock Client


Question

I am working on a piece of software that MUST use vb6 as the Client, I hoped to use C# for the server as I have a lot more flexiblity. I've run into a problem that google has not helped me with.

I can connect the Client to the Server no problem, however when I send data from the Vb6 App to the C# app, it seems to sit in some sort of buffer, or get lost in space. What happens in the C# Receives no data UNTIL I close the VB6 app. Once I do that, it seems to pick up that there was data sent (Only happens AFTER I close the vb6 app) and will go through the parsing (the proper data gets sent), however at this point the connection is dead I can't proceed (obviously).

Quick Edit.. I was able to get it to work, but it's very strange..

If anyone else encounters this problem.. add a "vbCrlf" to the end of that data and it will fix it.

Link to comment
https://www.neowin.net/forum/topic/965396-c-socket-server-w-vb6-winsock-client/
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.