Hi all,
i'm trying the symple chat, but have this error:
why?
thank in advance
i'm trying the symple chat, but have this error:
*** Service (starter) Create ***
starter_service_create (java line: 457)
java.net.BindException: bind failed: EADDRINUSE (Address already in use)
at libcore.io.IoBridge.bind(IoBridge.java:103)
at java.net.PlainDatagramSocketImpl.bind0(PlainDatagramSocketImpl.java:104)
at java.net.AbstractPlainDatagramSocketImpl.bind(AbstractPlainDatagramSocketImpl.java:110)
at java.net.DatagramSocket.bind(DatagramSocket.java:414)
at java.net.DatagramSocket.<init>(DatagramSocket.java:264)
at java.net.DatagramSocket.<init>(DatagramSocket.java:321)
at java.net.DatagramSocket.<init>(DatagramSocket.java:293)
at anywheresoftware.b4a.objects.SocketWrapper$UDPSocket.Initialize(SocketWrapper.java:444)
at mqtt.chat.starter._service_create(starter.java:457)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:196)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:176)
at mqtt.chat.starter.onCreate(starter.java:56)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:3755)
at android.app.ActivityThread.access$1400(ActivityThread.java:236)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1800)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7037)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)
Caused by: android.system.ErrnoException: bind failed: EADDRINUSE (Address already in use)
at libcore.io.Linux.bind(Native Method)
at libcore.io.ForwardingOs.bind(ForwardingOs.java:60)
at libcore.io.IoBridge.bind(IoBridge.java:99)
... 21 more
** Activity (main) Create, isFirst = false **
** Activity (main) Resume **
Connected: false
** Activity (main) Pause, UserClosed = true **
call disconnected
why?
thank in advance