When the button is clicked on the app, if you send a value of 1, the program consisting of c will work, and when you finish, you will send a value to the app to notify the app that it is finished and write a program that ends communication.
I found out that you can communicate with the socket The app is Cotlin and the program I am writing is C language
Please let me know if you have any data on how to make a code
socket server android kotlin c
https://docs.microsoft.com/ko-kr/windows/win32/winsock/complete-server-code
When the recv function comes out, deal with the recvbuf value
© 2024 OneMinuteCode. All rights reserved.