Results 1 to 2 of 2

Thread: [2005] Problem with Chat Buffer

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2007
    Posts
    24

    [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

  2. #2
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width