Italian Usare due sock UDP su porte differenti in Rx - Xfood (first post)    Aug 28, 2025   (6 reactions) forse dico una cavolata. hai inizializato cosi:
UDPSocket1.Initialize("UDP", 6454, 128)'
UDPSocket2.Initialize("UDP", 5568, 128)'
prova invece cosi:
UDPSocket1.Initialize("UDP1", 6454, 128)'
UDPSocket2.Initialize("UDP2", 5568, 128)'
e poi se due sub
Sub UDP1_PacketArrived (Packet1 As UDPPacket... B4J Question how to determine a UDPsocket is still open? - MbedAndroid (first post)    Aug 7, 2023 thanks Erel, i will implement UDPSocket.Initialize2... Italian UDP_PacketArrived Dati ricevuti ? - Xfood    Mar 10, 2023 ) Activity.Title = "UDP" LETTURA="" UDPSocket1.Initialize("UDP", 9000, 1024) UDP_Send(UDPSocket1, "testo", 192.168.1.10, 9000) ' qui dovrei...("UTF8") Dim myIp As String =UDPSocket1.GetBroadcastAddress Packet.Initialize..." UDPSocket1.Initialize("UDP", 9000, 1024) UDP_Send(UDPSocket1, "testo... Process_Globals Dim UDPSocket1 As UDPSocket End Sub Sub Globals Private LETTURA As String End... B4J Question UDP reply to client - teddybear (first post)    Aug 26, 2023 't know is the following code is correct in AppStart:
UDPSocket1.Initialize("UDP", 5100... b4j log, but UDPSocket1.Initialize("UDP", 5100, 8000) in AppStart ?
B4j port is 5000?
Arduino is 5100?
if yes you shuold UDPSocket1.Initialize("UDP", 5000, 8000) in AppStart.... B4A Code Snippet Send and Save Data into SQLite on Another Device (using UDP) - aeric    Nov 27, 2023   (18 reactions) UDPSocket1 As UDPSocket Private txtHost As EditText End Sub Public Sub Initialize End Sub...) B4XPages.SetTitle(Me, Application.LabelName) UDPSocket1.Initialize("UDP", 5000... Packet As UDPPacket Packet.Initialize(data, txtHost.Text, 5000) UDPSocket1.Send(Packet...) B4XPages.SetTitle(Me, Application.LabelName) UDPSocket1.Initialize("UDP", 5000, 8000... Private Root As B4XView Private xui As XUI Private UDPSocket1 As UDPSocket Private... B4J Question App starts only once? - Erel (first post)    Aug 16, 2021   (2 reactions) You can use UDPSocket.Initialize2 and set ReuseAddress parameter to True. It will allow multiple processes to share the port.... B4i Question UDP sending error data in Release mode - OliverA (first post)    Apr 13, 2020
If UDPSocket1.IsInitialized Then UDPSocket1.Close Sleep(400) UDPSocket1.Initialize("UDP"...) a new UDPSocket, initialize it and then assign it to UDPSocket1.... B4i Question New post (UDPSocket.send returns "error sending data: 13") - Semen Matusovskiy (first post)    Aug 13, 2020 to make a delay after UDPSocket.Initialize, for example, Sleep (1)....1) Check firewall settings. Maybe a port is closed.
2) Packet.Initialize(data, "255.255.255... B4i Question UDP_PacketArrived fires only one time - Mike1970 (first post)    Apr 14, 2020
I also told you to explicitly set the port number.
i changed from
UDPSocket1.Initialize("UDP", 0, 8000)
to
UDPSocket1.Initialize("UDP",14000, 8000)
No differences... B4i Question help!today my ipad update to v10.2,the udp send data error - shugeyi    Dec 27, 2016 today my ipad update to v10.2, my app cannot send udp data, show message "send data error" ,before update ,my app is normal how can i do ? dim UDPSocket1 As UDPSocket UDPSocket1.Initialize("UDP", 1200, 5000) Dim Packet As UDPPacket Dim Data() As Byte Dim strCmd As String=strWrite Data = strCmd.GetBytes("UTF8") Packet.Initialize(Data, m_CheckIP, m_CheckPort) UDPSocket1.Send(Packet) ... Page: 1   2   3   4   5   6   7   |