Results 1 to 2 of 2

Thread: Question about Winsock Send packe with Byte and String

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Apr 2003
    Posts
    148

    Post Question about Winsock Send packe with Byte and String

    for some reason VB don't send some char in different language, so i have to set winsock arrival to winsock.getdata buffer, vbbyte

    Here is the packet i need to send out
    Code:
    public function  Send(byval User as string, byval chatText as string)
    dim Packet as string
    dim truePacket() as byte
    packet = chrb(&h80) & chrb(&hc0) & User & chrb(&h80) & chrb(&hc0) & chatText
    truepacket = packet
    winsock.senddata truepacket
    end function
    I have to use chrb for some char

    can anyone help me out there?

    Thankx

  2. #2
    Interweb adm/o/distrator Paul M's Avatar
    Join Date
    Nov 2006
    Location
    Australia, Melbourne
    Posts
    2,306

    Re: Question about Winsock Send packe with Byte and String

    It has to be some sort of limit that is not allowing it to all be sent.

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