I am trying to send a file from Android emulator on Windows to ubuntu. https://www.rgagnon.com/javadetails/java-0542.html https://www.youtube.com/watch?v=7QNJvxXCYOY How do I use the Simple HTTP client in Android?
These all helped me learn how to send a file through socket, but I am not sure which IP address to use. I set up ServerSocket
and Socket
, but the code won't proceed at socket = ServerSocket.accept()
I wonder if this is because I am not using the correct IP address. I appreciate any help. Thanks in advance.