Results 1 to 9 of 9

Thread: Help With Winsock ( Send Packet )

Hybrid View

  1. #1
    Fanatic Member drivenbywhat's Avatar
    Join Date
    Jan 2007
    Location
    VA - USA
    Posts
    866

    Re: Help With Winsock ( Send Packet )

    first, before using any winsock code, put:

    winsock.close

    then make sure you put the acutal index of the array you want to send.

    winsock.senddata myarr(x)
    'substitute x with the array index

    You are also going to need to have an application listening on the port you are sending the data to. If you already have this then don't worry. If you want to know more about winsock, go to the NETWORKING section of the forums. There's a lot of frequently asked questions there.
    Last edited by drivenbywhat; Sep 22nd, 2007 at 10:30 AM.
    [vb5 & starting to move to vb2008] I appreciate the help I get from everyone. Thank you.

  2. #2

    Thread Starter
    New Member
    Join Date
    Sep 2007
    Posts
    5

    Re: Help With Winsock ( Send Packet )

    I want to send all those together bytes in chain form, for that reason I do not put the (x) next to myarr...

    I already have a game running in that IP and that port (remote host & port), therefore the connection already this established, anyway to me continues appearing the error...


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