Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Sending byte array through sockets  RSS feed

 
N Jadhav
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I want to send byte array from client to server and vice versa.
I need to receive them as byte array only and not as String. Can anyone please tell me which IO methods/classes I need to use for this purpose?

Thank you.
 
Wouter Oet
Bartender
Posts: 2700
IntelliJ IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi and welcome to the JavaRanch.

This is a basic question so I would recommend you to read the Java Tutorial about sockets (found here).
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!