For Programmers: Free Programming Magazines  


Home > Archive > Visual Basic > January 2006 > NetWork Stream problem.. i gave up :(









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author NetWork Stream problem.. i gave up :(
mulham.haffar@gmail.com

2006-01-31, 6:55 pm


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.

Jeff Johnson [MVP: VB]

2006-01-31, 6:55 pm


<mulham.haffar@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.


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com