tcp

  1. S

    Android Question Send hex bytes to TCP

    Hi everyone! I'm new to B4A. Programming in VB.net I want to make a project for a mobile phone to send and receive data over TCP. I used an example of TestSockets. But my controller (USR K7) does not accept the data I send to HEX. For example, in vb.net I have a data packet: FF A1 C3 01 10 FD...
  2. M

    Wish ESPAsyncTCP library (multi client tcp server)

    Hi can anybody wrap this library. it make tcp server for multi client . b4r tcp server just can handle 1 client at the same time. thanks. Async TCP Library for ESP8266 Arduino Async TCP Library for ESP32 Arduino
  3. captain hawak

    Android Question problem load bitmap with byte() tcp

    hi i send image with c# server to b4a tcp client and after get error load bitmap error. this code very good work for udp just error in tcp from b4a i think problem for tcp b4a img = Image.FromFile(@"C:\Users\at\Pictures\download.jpeg"); ms = new MemoryStream()...
  4. captain hawak

    Android Question show video stream live in panel

    hi i need show my video live from tcp c# to my app android panel and tested (videoview,exoplayer..) and no work from this link(http://192.168.43.23:8080) but i test from km player or mx player or web browser good worked this live stream video.
  5. C

    B4J Library Asynchronous modbus TCP master

    Hello everyone, Here a modbus TCP master library, fully programmed in b4j. This library is asynchronous, by use of the asyncstreams and Callback method. The response is an event, a separate sub, different then your sub where you did the request. This has the advantage that an unresponsive...
  6. N

    Android Question Client server application, tcp/ip vs http

    Hi this is a technical cuestion more than a specific cuestion of the language.. Í need to implement an application for android with connection to a server made in visual basic that it will also be implemented by me. The interechange of data between andoid app and server will be in xml format. I...
  7. C

    B4J Code Snippet Modbus TCP server - slave - restricted functionality

    Hello everyone, Here a small quick and dirty implementation of the modbus TCP protocol in B4J as a server / slave. Please note that this is not a complete library! The following limitations are: -Only READING (not writing) of holding registers possible by modbus master(function code 03) from...
  8. walterf25

    B4J Question MQTT accessed from outside

    Hi All, i'm working on a project which requires a device to send data over to a PC. I came across the MQTT library and I thought I would give it a try, i'm really amazed at how simple it is to set this up, whether running the MQTT Broker on a local P.C. or using one of the cloud host servers...
  9. MarkusR

    Android Question Server App with Network & TCP Socket + SSL

    hello, how to make this example b4j network here work with ssl? https://www.b4x.com/android/forum/threads/b4x-network-asyncstreams-b4xserializator.72149/ i set the server into listen after a button click. if me click connect from "client" the server show a connect but the client stay in status...
Top