iOS Question AsyncStreams+Socket send string exist garbage data!

chjk

Member
Licensed User
Longtime User
AsyncStreams+Socket send string exist garbage data! How to solve it?
 

Attachments

  • src.JPG
    13.6 KB · Views: 287
  • dataError.JPG
    8.3 KB · Views: 272

chjk

Member
Licensed User
Longtime User
Make sure not to initialize it in prefix mode.
Thanks, Indeed prefix mode! my initialize code
AStreams.InitializePrefix(sc.InputStream, False, sc.OutputStream, "AStreams")
but in b4a this code not this problem!
now b4i initialize code change AStreams.Initialize(sc.InputStream, sc.OutputStream, "AStreams") Solved it!
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…