Hello
I have to develop an Andoid APP for a smartphone with WiFi. The smartphone is working with HotSpot ebabled. The smartphone has to work like a TCP server in a local wifi network (talking with some local wifi sensors) but at the same time the smartphne has to work like a TCP client with a remote PC server (the smartphne has to trasmit data collected from the local sensors to the remote server). So the question is: can I have an APP working at the same time like a tcp client and like a tcp server (can I open at the same time and in the same APP a ServerSocket and a ClientSocket)?
Thanks for help
Carlo
I have to develop an Andoid APP for a smartphone with WiFi. The smartphone is working with HotSpot ebabled. The smartphone has to work like a TCP server in a local wifi network (talking with some local wifi sensors) but at the same time the smartphne has to work like a TCP client with a remote PC server (the smartphne has to trasmit data collected from the local sensors to the remote server). So the question is: can I have an APP working at the same time like a tcp client and like a tcp server (can I open at the same time and in the same APP a ServerSocket and a ClientSocket)?
Thanks for help
Carlo