B4A Code Snippet [B4X] Audio Streaming UDP - Star-Dust    Sep 21, 2022   (20 reactions) Based on this @Erel code that simulated a Walkie Talkie, I developed a system for streaming audio between Android and Desktop devices with UDP.
You can connect with multiple devices.
I found that some routers lose a lot of UDP packets (a high percentage) and the sound is not uniform. If you notice B4J Question UDP reply to client - teddybear (first post)    Aug 26, 2023 It is incorrect to use UDP,
UDP protocol is connectionless communication . it has no handshaking dialogues. B4A Question Temprature reading - Mark Read (first post)    Aug 07, 2024   (1 reaction) Forgot about UDP. My answer 2 above also uses UDP to send data within the home WLan. Data is called externally via Thingspeak (anywhere in the world). B4A Question UDP packet sending - OliverA (first post)    Nov 02, 2018   (1 reaction) UDP is a connection less protocol. UDP should be used in cases where packet loss (up to a certain point) is not an issue (such is VOIP and Video). In your case, it looks like packet loss is detrimental to your application. Therefore, you have to build your own retry mechanism (which TCP has already B4R Tutorial UDP Communication - Erel    May 05, 2016   (8 reactions) rEthernet library v1.10 (included in v1.00 beta 9) includes a new type named EthernetUDP. It allows sending and receiving UDP packets.
UDP is simple to work with as it is a connection-less protocol.
Steps required:
1. Initialize an Ethernet object with a static ip address or InitializeDHCP.
2. I B4i Question udp "error sending data". - shugeyi (first post)    Oct 09, 2015 when i use xcode 6.1.1, the error happened,
but when i change to use xcode 6.3 , the error disappeared, the code is same
why ? B4A Question UDP library - agraham (first post)    Oct 23, 2023   (2 reactions) The standard Network library handles UDP. B4J Question [Jnetwork] udp socket is not threaded. - Erel (first post)    Sep 04, 2023   (1 reaction) The time that it runs udp_PacketArrived should be less than 1ms. This means that it should be able to server more than 1000 clients per second.
UDP, unlike TCP, is stateless. There is no "connection" in UDP. This means that a single client can flood the port, even though the network communication is B4J Tutorial [example] [B4X] Control the desktop with your phone - Erel (first post)    Nov 30, 2015   (4 reactions) UDP is a bit faster. Though you won't be able to see any difference in a solution such as this one.
UDP is stateless. It makes it easier to work with for a task such as this one. The desktop app just listens for incoming data and the clients send data to the correct port. There is no connection or Italian UDP_PacketArrived Dati ricevuti ? - Xfood    Mar 10, 2023 Initialize(data, myIp, port)
socketa.Send(Packet)
End Sub
l'unico modo che ho trovato e' mettere un timeout fisso, ma cosi devo aspettare la fine del timeout , anche se i dati sono arrivati prima,
oppure se la stringa e' molto lunga devo prevedere un timeout piu lungo,
non esiste un metodo p Page: 1   2   3   4   5   6   7   Powered by ColBERT |