Author: simand | Posted on: 3/8/2008 6:59:37 AM | Views : 312

Hi All,

I am using Visual Studio Express 2008 and Visual Web Developer 2008.

I have the same peice of code in a VB application and a asp.net website. It works as expected in the vb application but in the asp.net website it returns null.

 

Try
tcpClient = New TcpClient()
tcpClient.Connect("per-ex-01", 25)
Dim networkStream As NetworkStream = tcpClient.GetStream()
Dim bytes(tcpClient.ReceiveBufferSize) As Go to the complete details ...