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 codeinitially 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 codeCode:dat = StrConv(bytRx, vbUnicode)toCode:If lngPackLen + 9 <= lngLast - 1 Thendoing 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 inCode:If lngPackLen + 8 <= lngLast - 1 Theni didn make any other changes and i am waiting for your reply.Code:bytBuffer(intI) = bytRx(intI - lngLast)![]()




Reply With Quote