Rahils573
Jun 24th, 2004, 11:15 AM
Hello Everybody,
I have created a C# Server and A Winsock Active X Control.
I have created a Timer inside the ActiveX Control. After 30 seconds the client is supposed to send data to the C# Server.
My problem is that the server does not receive any data. I have taken note of COM Interoperability issues between C#.net server and VB6 Winsock Client. I get the confirmation that the client is connected to the server.
However the problem is when the timer reaches 30 seconds the server does not receive any data from the Client.
Can any one tell me what could be the problem..
Pls guide.
Rahil
The code written for the timer is ,
Private Sub Timer1_Timer()
Dim alivedata As String
alivedata = "ActiveXControl is alive"
If txtreceive.Text = "IstheActiveXControlAlive" Then
tcpClient.SendData alivedata & Chr$(0)
DoEvents
End If
End Sub
I have created a C# Server and A Winsock Active X Control.
I have created a Timer inside the ActiveX Control. After 30 seconds the client is supposed to send data to the C# Server.
My problem is that the server does not receive any data. I have taken note of COM Interoperability issues between C#.net server and VB6 Winsock Client. I get the confirmation that the client is connected to the server.
However the problem is when the timer reaches 30 seconds the server does not receive any data from the Client.
Can any one tell me what could be the problem..
Pls guide.
Rahil
The code written for the timer is ,
Private Sub Timer1_Timer()
Dim alivedata As String
alivedata = "ActiveXControl is alive"
If txtreceive.Text = "IstheActiveXControlAlive" Then
tcpClient.SendData alivedata & Chr$(0)
DoEvents
End If
End Sub