SocketOutputStream
SocketOutputStream is a class in Java's networking API, specifically part of the `java.net` package. It represents the output stream associated with a socket connection. When you establish a connection to a remote host using `Socket` and want to send data, you obtain an instance of `SocketOutputStream` from the `Socket` object. This stream allows you to write bytes that will be transmitted over the network to the connected peer.
The primary methods available on SocketOutputStream are `write()` methods, which accept byte arrays or individual bytes
Closing the `SocketOutputStream` is important to release the resources associated with the network connection. It's recommended