Home All Groups Group Topic Archive Search About

tcpClient.Connect(IPClient, Port)

Author
28 Mar 2007 3:34 PM
luca.buratti
Hi!

Like many other people here i used succesfully this command with
routers and hubs on port 23 but when i try on hp-ux terminal nothing
to do...

the answer at networkStream.Read(bytes, 0,
CInt(tcpClient.ReceiveBufferSize))

is always 255 253 36 and if a try to write something ...

towrite="User"
Dim sendBytes As Byte() = System.Text.Encoding.ASCII.GetBytes(towrite)
        'Envoie sur le port
        networkStream.Write(sendBytes, 0, sendBytes.Length)

....the next time that i try a networkStream.Read(bytes, 0,
CInt(tcpClient.ReceiveBufferSize))

the program hangs...

Any Idea and Thank You

Luca.

AddThis Social Bookmark Button