Skip to content

Instantly share code, notes, and snippets.

@thealmikey
Last active April 5, 2019 17:37
Show Gist options
  • Save thealmikey/f4e580c8ea40043589b63633d86553f2 to your computer and use it in GitHub Desktop.
Save thealmikey/f4e580c8ea40043589b63633d86553f2 to your computer and use it in GitHub Desktop.
val byteReply = socket.recv(0)
var plainReply = String(byteReply, 0, byteReply.size - 1)
println("Received reply $plainReply")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment