[2005] Problem with Chat Buffer
Okay when I try to run this code it says the Error 1 Overload resolution failed because no accessible 'GetData' accepts this number of arguments.
So what should be changed?
Code:
Private Sub Sock1_DataArrival(ByVal sender As Object, ByVal e As AxMSWinsockLib.DMSWinsockControlEvents_DataArrivalEvent) Handles Sock1.DataArrival
Dim dat As String
Sock1.GetData(dat, vbString)
txtLog.Text = txtLog.Text & "Server :" & dat & vbCrLf
End Sub
Thank you,
Adam
Re: [2005] Problem with Chat Buffer
If this is .net then why are you using Winsock? You should use the Sockets class in .net.
Sorry, I hate .net and don't know much about them.