Home All Groups Group Topic Archive Search About

NetWork Stream problem.. i gave up :(

Author
31 Jan 2006 2:41 PM
mulham.haffar
hi guys...

im writing a client/server application that uses tcpclient/tcplistener
to do the comunications...

i defined a tcpclient object called "client" and a networkStream called
"stream"..
                     stream = client.GetStream()

and the problem is:

every two send actions the listener only recognizes one !!!
i use "stream.write(...)

i fixed the problem by writing the "stream.write(..)" twice each
time... and it worked most of the time... but as u can see its not a
solution after all :)..

any help any opinion will be more than appreciated..

Thanks
Mulham.

Author
31 Jan 2006 5:08 PM
Jeff Johnson [MVP: VB]
<mulham.haf***@gmail.com> wrote in message
news:1138718470.537137.35240@g43g2000cwa.googlegroups.com...

> im writing a client/server application that uses tcpclient/tcplistener
> to do the comunications...

This is a VB "classic" newsgroup. Questions about VB.NET (including VB 2005,
which has dropped .NET from its name) are off-topic here.

Please ask .NET questions in newsgroups with "dotnet" in their names. The
*.vb.* groups are for VB6 and earlier. If you don't see the *.dotnet.*
groups on your news server, connect directly to the Microsoft server:
msnews.microsoft.com.