unfortunately for right now we have to still use VB6. i figured that nearly
all the programmers on
here have used VB6 so thats why I asked :)
i'm sure its something simple, unfortunately tcpClient (which I am using in
the c# side) cant be
used with vb6 :(
Quote:
> This is a vb.net group.
> You don't need to do winsock, you would use the tcpClient and
NetworkStream
> Once you Write, you would read the result back with .Read.
> Check the sdk for samples.
> --
> Joe Feser
> Fesersoft
> http://www.fesersoft.com/
> .Net, XML, XSLT, SQL
> Free Code, Articles and Information.
> > I have a winsock control in a VB6 app (needs to be VB6 for right now).
> > I am trying to connect it to a C# app.
> > When I try to send data nothing appears to be sent, although a
connection
> is
> > initated.
> > WITH wsckControl
> > .RemoteHost = "localhost"
> > .RemotePort = "44444"
> > .Connect
> > Wait .1 ' need to wait because Connect is asynchronous
> > .SendData "Test String"
> > .Close
> > END With
> > If i do
> > telnet localhost 44444
> > i can type and my server recognizes the characters
> > i always get an empty stream with the above vb.
> > ???