https://kotlinlang.org logo
Title
u

user

07/21/2022, 2:01 PM
Kotlin Client,Python Server Socket Server receive data loop code can't exit What I'm trying to make is that if the Kotlin client sends the image to the Python server, the Python will Grayscale the image and send it back to the client But there's a problem with the server, recv image data loop doesn't end How should we solve this problem? Here is the code Kotlin Client class MainActivity : AppCompatActivity() { var ip = "35.216.104.58" var port = 4000 val binding by lazy { ActivityMainBinding.inflate(layoutInflater) } override fun onCreate(savedInstanceState:...