Beja Expert Licensed User Longtime User Mar 20, 2016 #1 Hi all, In the following code I tried to delete the prefix but I got a runtime error "Too many parameters" Code: Copy 'astream.InitializePrefix(sp.GetInputStream, True, sp.GetOutputStream, "astream") astream.Initialize(sp.GetInputStream, True, sp.GetOutputStream, "astream") Any help in correcting the syntax appreciated.
Hi all, In the following code I tried to delete the prefix but I got a runtime error "Too many parameters" Code: Copy 'astream.InitializePrefix(sp.GetInputStream, True, sp.GetOutputStream, "astream") astream.Initialize(sp.GetInputStream, True, sp.GetOutputStream, "astream") Any help in correcting the syntax appreciated.
Beja Expert Licensed User Longtime User Mar 20, 2016 #2 put it more clear: the above first line error log (with prefeix): java.lang.RuntimeException: Message size too large. Prefix mode can only work if both sides of the connection follow the 'prefix' protocol. at anywheresoftware.b4a.randomaccessfile.AsyncStreams$AIN.run(AsyncStreams.java:205) at java.lang.Thread.run(Thread.java:745) and when prefix deleted I got the error: "too many parameter" Upvote 0
put it more clear: the above first line error log (with prefeix): java.lang.RuntimeException: Message size too large. Prefix mode can only work if both sides of the connection follow the 'prefix' protocol. at anywheresoftware.b4a.randomaccessfile.AsyncStreams$AIN.run(AsyncStreams.java:205) at java.lang.Thread.run(Thread.java:745) and when prefix deleted I got the error: "too many parameter"
Erel B4X founder Staff member Licensed User Longtime User Mar 20, 2016 #3 AsyncStreams.Initialize expects three parameters: https://www.b4x.com/android/forum/pages/results/?query=AsyncStreams.initialize Upvote 0
AsyncStreams.Initialize expects three parameters: https://www.b4x.com/android/forum/pages/results/?query=AsyncStreams.initialize