Results 1 to 9 of 9

Thread: Winsock And Split Function(RESOLVED)

Threaded View

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2005
    Posts
    21

    Winsock And Split Function(RESOLVED)

    I need to know how to use the split function. I have a program I wrote using the split function and it works but the one I am writing doesnt seem to want to work

    for instance I have a client when the use clicks send it does this

    sckSend.SendData strName & strMsg

    I need the host to take it and split it to two variables like this

    Private Sub sckAccept_DataArrival(ByVal bytesTotal As Long)
    sckAccept.GetData Data, vbString, bytesTotal

    I need it to get the data and then split it to its necessary variables likes this on the data accept do this

    MsgBox " strName & strMsg "

    I am basically asking how to assign the data received to variables for use in the server
    Last edited by baked_noodle; Mar 2nd, 2005 at 12:25 AM.

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