Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

C# Tcp message to VB Application

Status
Not open for further replies.

NeilV

Programmer
Oct 14, 2002
117
GB
Hello,

I have an application that was written in VB 6 that receives messages over TCP using the Winsock control. In the past all of the incoming messages have been from another VB6 app. Now I wish to send messages to it from a C# console application. I have managed to setup a connection between the 2 but I cant seem to send any data between the two. I am sending data via the StreamWriter class.
Has anyone done this before and able to give me some pointers?

Cheers,

Neil
 
oops! Forget to call the Flush method,to actually send the data in the buffer...its fixed now..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top