Yes. I am sending the data to a esp8266 there is working as at wifi to serial bridge.
This works perfect in b4a and b4j. And it is also working in b4i, but a few files out of approx 900 config files we are using It is not working.
I send the 401 char to the buffer as in post #1, but nothing comes out of the iPhone/iPad. Do I change the encoding to utf8 the iPhone/iPad are sending data but not rigtht. I receive a CRC error from the reciever.
The files I read the data from is encoded in utf8 and is a basic windows ini file structure. I have attached a sample file.
TcpStreams.Initialize(WiFi_Socket.InputStream, WiFi_Socket.OutputStream, "TcpStreams")
Dim ServerIp As String = "192.168.4.1" 'Access point IP
Dim Port As Int = 8880 'Set til port 8880
WiFi_Socket.Initialize("WiFi_Socket")
WiFi_Socket.Connect(ServerIp,Port,5000)