Java程序辅导

C C++ Java Python Processing编程在线培训 程序编写 软件开发 视频讲解

客服在线QQ:2653320439 微信:ittutor Email:itutor@qq.com
wx: cjtutor
QQ: 2653320439
Socket tcp/udp server on App Inventor app - MIT App Inventor Help - MIT App Inventor Community Socket tcp/udp server on App Inventor app MIT App Inventor Help amorosik February 15, 2020, 11:03am #1 Is possible to build a socket tcp/udp server for receive requests and send responses on App Inventor app? What we would like to realize is a smartphone gateway for sensor on field When smartphone can read bt sensor signal, then must be query from a desktop office station Taifun February 15, 2020, 12:26pm #2 extensions which might help UDP client Extension by Andres Daniel UDP server Extension by Andres Daniel (15 USD) UDP Client Extension by Ulrich (see also the documentation in german) Thank you Johannes_der_Wildwes! Simple TCP Client Extension by Andre Castro, Github respository Client TCP Extension by Jean-Rodolphe Letertre see also the extensions directory here https://puravidaapps.com/extensions.php Taifun Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun. amorosik February 16, 2020, 7:49am #3 Thank you for fast reply Then, actually, there isn’t a ‘tcp server’ extension for App Inventor ? amorosik February 16, 2020, 6:12pm #4 The extension available on http://bienonline.magix.net/public/android-AI2-UDP-en.html builds an udp server capable of listening and receiving information from any udp client within the same lan, so as long as the phone address is of the type 192.160.1.100 everything works correctly, the commands sent are received and displayed in the lower textbox But by turning off the phone’s wifi, and using only the data connection provided by the telephone network, the commands sent to the address provided by the test program, of the type 10.90.200.150, are no longer received by the program that is running on the phone Why do the lan commands work, don’t they work anymore in wan? mmanca September 20, 2021, 12:53am #5 Because they are not on the same network. 192... and 10... are on 2 different networks. The 192.168 segment is reserved to private networks so you can not access directly from the internet a node with that address. You need a static IP address in the public network address segment(s). 1 Like Home Categories FAQ/Guidelines Terms of Service Privacy Policy Powered by Discourse, best viewed with JavaScript enabled