Hello guys,
I am making a java chat server, and a guy was able to connect to it no problem (however, he logged off for the night before I ran into any problems, so I couldn't see what he did).
Anywho,
Here is my code on the VB form:
Code:Debug.Print("Conected to Chat Server ...") clientSocket.Connect("localhost", 4444) serverStream = clientSocket.GetStream Dim outStream As Byte() = System.Text.Encoding.ASCII.GetBytes(TextBox1.Text + ".") serverStream.Write(outStream, 0, outStream.Length) Debug.Print("Wrote: " & TextBox1.Text) serverStream.Flush()
now, debug says it's writing this...
but on the server side, i don't see ANYTHING coming through...at all.
any help would be fantastic. thanks!




Reply With Quote