This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Dim tcpclient As New System.Net.Sockets.TcpClient();
tcpclient.Connect(iAdd,iPort) <----the client send a blank message to server at here, and my server treat it as the message expected,
then the rest of the vb codes do nothing and hang there..
Dim networkStream As NetworkStream = tcpClient.GetStream();
i am a newbie in java network programming, so i still cannot find the error
Can anyone give me any reason about this kind of problem? thanks
Joined: Feb 01, 2009
i figure out the problem.
i use .available() to estimate the inputstream, some times it will return 0 depends on web condition.