M.LAZ Active Member Licensed User Longtime User Nov 2, 2022 #1 Hi i got this error when trying send data from b4a app to my pc server using b4j using this example (ErrnoException) android.system.ErrnoException: isConnected failed: ENETUNREACH (Network is unreachable) i allow all incoming communication with port. is there something else to configure ?
Hi i got this error when trying send data from b4a app to my pc server using b4j using this example (ErrnoException) android.system.ErrnoException: isConnected failed: ENETUNREACH (Network is unreachable) i allow all incoming communication with port. is there something else to configure ?
Erel B4X founder Staff member Licensed User Longtime User Nov 3, 2022 #2 Make sure that the ip and port are correct. There could also be several firewalls running. It is easier to start with the Android device as a server. Start with this example: [B4X] [B4XPages] Network + AsyncStreams + B4XSerializator Upvote 0
Make sure that the ip and port are correct. There could also be several firewalls running. It is easier to start with the Android device as a server. Start with this example: [B4X] [B4XPages] Network + AsyncStreams + B4XSerializator
M.LAZ Active Member Licensed User Longtime User Nov 3, 2022 #3 Erel said: Make sure that the ip and port are correct. There could also be several firewalls running. It is easier to start with the Android device as a server. Start with this example: [B4X] [B4XPages] Network + AsyncStreams + B4XSerializator Click to expand... thanks Erel . it's working now it's an ip problem yes i'm starting using this example [B4X] [B4XPages] Network + AsyncStreams + B4XSerializator but Now i want to make a concurrent connections to Server , this Example use just one connection how to modify it? Upvote 0
Erel said: Make sure that the ip and port are correct. There could also be several firewalls running. It is easier to start with the Android device as a server. Start with this example: [B4X] [B4XPages] Network + AsyncStreams + B4XSerializator Click to expand... thanks Erel . it's working now it's an ip problem yes i'm starting using this example [B4X] [B4XPages] Network + AsyncStreams + B4XSerializator but Now i want to make a concurrent connections to Server , this Example use just one connection how to modify it?
Erel B4X founder Staff member Licensed User Longtime User Nov 6, 2022 #4 Good, simple and very powerful solution: use jServer to build a real server. Complex and much less powerful solution - examples: [B4X] FTP Server implemented with Socket and AsyncStreams MJPEG / CCTV Server For further discussion please start a new thread. Upvote 0
Good, simple and very powerful solution: use jServer to build a real server. Complex and much less powerful solution - examples: [B4X] FTP Server implemented with Socket and AsyncStreams MJPEG / CCTV Server For further discussion please start a new thread.