What is the role of InputStream and OutputStream in socket programming?

Last Updated :
Discuss
Comments

What is the role of InputStream and OutputStream in socket programming?

Encrypt communication

Handle file I/O

Facilitate data transfer between server and client

Detect connection drops

Share your thoughts in the comments