the problems are that my client wont send data or i might be to the server for everyone to see but the server isnt getting any of the info to display heres the send function of my code along with the data arrival of the server which is the same as the code for client
the problems are that my client wont send data or i might be to the server for everyone to see but the server isnt getting any of the info to display heres the send function of my code along with the data arrival of the server which is the same as the code for client
Private Sub Winsock_ConnectionRequest(ByVal requestID As Long)
Dim newClient As Long
If Index = 0 Then
'this is the listening server
'load a new control to talk to this client
newClient = LoadNextServer(server)
server(newClient).Accept requestID
server(newClient).SendData "Hello: you are connected"
End If
End Sub
Private Sub server_DataArrival(Index As Integer, ByVal bytesTotal As Long)
txtchat.Text = msgarrived & vbNewLine
End Sub
Private Sub server_Error(Index As Integer, ByVal Number As Integer, Description As String, ByVal Scode As Long, ByVal Source As String, ByVal HelpFile As String, ByVal HelpContext As Long, CancelDisplay As Boolean)
Private Sub Winsock_ConnectionRequest(ByVal requestID As Long)
client(i).Accept requestID
End Sub
Private Sub client_Error(Index As Integer, ByVal Number As Integer, Description As String, ByVal Scode As Long, ByVal Source As String, ByVal HelpFile As String, ByVal HelpContext As Long, CancelDisplay As Boolean)
well ok here it goes i started your tutorial alkl over again and im trying to get it multi-client so i was wondering if you could help me with what code goes were and such stuff
Last edited by BladeZ; Jul 12th, 2005 at 05:05 PM.