B4A Library [B4X] FTP Server implemented with Socket and AsyncStreams - Erel    Jul 18, 2022   (41 reactions)   tags: B4A B4J, FTP . As it is based on AsyncStreams and it can handle multiple concurrent connections. It is compatible... closes the connection. Note that a new method was added to AsyncStreams that allows closing... B4A Tutorial [B4X] Network + AsyncStreams + B4XSerializator - Erel    Jun 30, 2020   (27 reactions)   tags: transfer, B4XSerializator, Erel, Network Better implementation, based on B4XPages: https://www.b4x.com/android/forum/threads/b4x-b4xpages-network-asyncstreams-b4xserializator.119011/#content
New video tutorial:
256762156
https://www... B4A Tutorial [B4X] AsyncStreams Tutorial - Erel    Feb 22, 2018   (10 reactions)   tags: B4A Dim AStreams As AsyncStreams Dim Server As ServerSocket Dim Socket1 As Socket End Sub... If End Sub Once there is a connection we initialize the AsyncStreams object: AStreams...New video tutorial: 256762156 AsyncStreams allows you to read data from an InputStream and write.... AsyncStreams is very useful when working with slow streams like network streams or Bluetooth streams... those are available. Using AsyncStreams is usually simpler and safer. AsyncStreams can work in two... B4A Tutorial [B4X] [B4XPages] Network + AsyncStreams + B4XSerializator - Erel    Jun 30, 2020   (29 reactions) https://www.b4x.com/basic4android/images/java_USPawWZPiX.png 95652 https://www.b4x.com/basic4android/images/B4i_nUuTQqGuEH.png Cross platform version, based on B4XPages, of the network example: https://www.b4x.com/android/forum/threads/b4x-network-asyncstreams-b4xserializator.72149/#content It is so much simpler to use B4XPages that it feels like cheating :) All of the code is shared. The layouts were copy-pasted.... B4A Tutorial FileTransfer - Send and receive files with AsyncStreams - Erel    Jun 7, 2020   (8 reactions)   tags: Dateien Newer example based on B4XSerializator: https://www.b4x.com/android/forum/threads/72149 AsyncStream v1.50 (part of RandomAccessFile library) includes support for sending and receiving streams of any... AsyncStreams is initialized in prefix mode. WriteStream can efficiently handle streams of any sizes. In.... FileTransfer example demonstrates how AsyncStreams can be used to send and receive files of any size.../forum/basic4android-getting-started-tutorials/30741-net-filetransfer-implement-asyncstreams-prefix... B4A Code Snippet aSyncStream and flush - Star-Dust    Apr 17, 2025   (8 reactions) aSyncStream? Private socket As Socket Private astream As AsyncStreams Private r As Reflector Private aout... astream.Initialize(socket.InputStream,socket.OutputStream,"astream") r.Target=astream r.Target=r.GetField("aout") 'Log(r.GetField("working")) aout=r.GetField("out") astream.Write("MyText"... End Sub Private Sub astream_NewData (Buffer() As Byte) Log("* " & Buffer.Length... B4J Question AsyncStream COM-port buffer - peacemaker    Sep 30, 2022 HI, All My app is scanning COM-ports, check the stream, looks for a data, receives the data, processes it.... And trying to catch the USB-COM device is disconnected so COM-port is suddenly lost, the connection is broken, but ... when the device is unplugged - the log shows data is being processed further during 5-7 seconds more before the AStream_Error event is fired. But better to catch it ASAP. What is it, big buffer ?... B4J Library jSerial library - Erel    Mar 6, 2025   (23 reactions) with AsyncStreams. Both standard mode and prefix mode are supported. Note that prefix mode can only work if both sides of the connection follow the protocol. Change AStream.InitializePrefix to AStream.Initialize... B4R Question ESP8266 - WiFi Remote Configuration -> Astream_NewData(Buffer () as byte) Fires multiple times - Cableguy    Jan 16, 2024 .
While sending very basic responses to the browser (using Astream.write) works fine, I was having... B4A Tutorial .Net FileTransfer - Implement AsyncStreams Prefix mode - Erel    Jul 4, 2013   (1 reaction) The attached C# project, implements the new stream protocol of AsyncStreams. Relevant tutorials: AsyncStreams Tutorial FileTransfer - Send and receive files with AsyncStreams This project.... There is a single change that needs to be done in device FileTransfer app: AsyncStreams should use little endian instead of big endian. This is done by setting the second parameter of astream.InitializePrefix to False (Sub StartAStream). The C# source code and executable are attached.... Page: 1   2   3   4   5   6   7   |