Android Datagram/UDP Client example

preview_player
Показать описание
I posted "Java Datagram/UDP Server and Client, run on raspberry Pi" on my another blogspot. It's the Android version of the client.
Рекомендации по теме
Комментарии
Автор

ok... I have created a server program in C on a UNIX server program. The server responds a ACK when I connect. My phone client displays the ACK message. I copied some code of your TCP client thing (msgtosend). How can I send a message with the UDP client (Android)? (in your example the message string is 0 bytes) I append a edit text field (msgtosend copied from your TCP example)

raylier
Автор

can you explain how to display the received data from server side to client side using UDP communication on android studio?

aswathys
Автор

how is this possible, poking thru the mobile-NAT without a STUN server?

jamespruett
Автор

I'm looking for creating UDP clientandroid app in react native environment, is it possible? and help me to do it

behnampourani
Автор

Hello, can you share the javaUdpServer file as well?
I could only find the codes for android.

EsraEmirli
Автор

HI,
Do you test or probe it in commercial network?, I think it can't function, just only in private network like wifi or something like that!,

jcdergan
Автор

Hello, I used your program, to send a signal to the Udp Client Server (Windows Program). Unfortunately, the app shows "connecting..." for more than 10min. What could be the problem?

stullenkaiser
Автор

Hello,
but i have no success... Can help me?

dinishugo
welcome to shbcf.ru