Results 1 to 13 of 13

Thread: buffering an incoming data

Threaded View

  1. #13

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2008
    Posts
    327

    Re: buffering an incoming data

    hey, doogle i got the code working i re-wrote all my code according to what you provided me.. but as i need to use ascii string as out put in my text box i used this code
    Code:
    dat = StrConv(bytRx, vbUnicode)
    initially i ran into some trouble because i couldn't get the required header to process the data and it didn show up in select case ..so, i changed your code
    Code:
    If lngPackLen + 9 <= lngLast - 1 Then
    to
    Code:
    If lngPackLen + 8 <= lngLast - 1 Then
    doing this i am able to process the data ,i get the hash string from the server (38 byte) ..and i send the login response , but i am getting errors when i receive the login ok packet.. subscription out of range in
    Code:
      bytBuffer(intI) = bytRx(intI - lngLast)
    i didn make any other changes and i am waiting for your reply.
    Last edited by pannam; Jun 22nd, 2008 at 10:08 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