Hi, I am trying to implement the MSN messenger protocol in <BR>ASP.Net but can&#039;t get any response from the server. It&#039;s <BR>returning an empty string. Can somebody point out what&#039;s <BR>wrong with the following code:<BR><BR>************************************* *********************<BR><BR>Imports System.Text<BR><BR>Public Class WebForm1<BR> Inherits System.Web.UI.Page<BR> Protected WithEvents Button1 As <BR>System.Web.UI.WebControls.Button<BR><BR>#Regio n " Web Form Designer Generated Code "<BR><BR> &#039;This call is required by the Web Form Designer.<BR> &#060;System.Diagnostics.DebuggerStepThrough()&#06 2; Private Sub <BR>InitializeComponent()<BR><BR> End Sub<BR><BR> Private Sub Page_Init(ByVal sender As System.Object, <BR>ByVal e As System.EventArgs) Handles MyBase.Init<BR> &#039;CODEGEN: This method call is required by the Web <BR>Form Designer<BR> &#039;Do not modify it using the code editor.<BR> InitializeComponent()<BR> End Sub<BR><BR>#End Region<BR><BR> Protected WithEvents Button2 As <BR>System.Web.UI.WebControls.Button<BR> Dim trialID As Integer<BR> Dim networkStream As System.Net.Sockets.NetworkStream<BR> Dim tcpClient As New System.Net.Sockets.TcpClient()<BR><BR> Private Sub Page_Load(ByVal sender As System.Object, <BR>ByVal e As System.EventArgs) Handles MyBase.Load<BR> tcpClient.Connect("", 1863)<BR> trialID = 0<BR> networkStream = tcpClient.GetStream()<BR> End Sub<BR><BR> Private Sub Button1_Click(ByVal sender As <BR>System.Object, ByVal e As System.EventArgs) Handles <BR>Button1.Click<BR> If networkStream.CanWrite Then<BR> Dim sendBytes As [Byte]() = <BR>Encoding.ASCII.GetBytes("VER 0 MSNP7 MSNP6 MSNP5 MSNP4 <BR>CVRO" & vbCrLf)<BR> Response.Write(Encoding.ASCII.GetString<BR>(sendBy tes))<BR> networkStream.Write(sendBytes, 0, 32)<BR> End If<BR> End Sub<BR><BR> Private Sub Button2_Click(ByVal sender As <BR>System.Object, ByVal e As System.EventArgs) Handles <BR>Button2.Click<BR> If networkStream.DataAvailable Then<BR> Dim bytes(tcpClient.ReceiveBufferSize) As Byte<BR> networkStream.Read(bytes, 0, CInt<BR>(tcpClient.ReceiveBufferSize))<BR><BR> Dim returndata As String = <BR>Encoding.ASCII.GetString(bytes)<BR> Response.Write(returndata)<BR> Else<BR> If Not networkStream.CanRead Then<BR> Response.Write("You can not write data to <BR>this stream")<BR> tcpClient.Close()<BR><BR> End If<BR> End If<BR> End Sub<BR><BR>End Class<BR><BR>************************************* *********************