public BinaryOut(Socket socket){
  try {
    OutputStream os=socket.getOutputStream();
    out=new BufferedOutputStream(os);
  }
 catch (  IOException e) {
    e.printStackTrace();
  }
}

public BinaryOut ( Socket socket ) { try { OutputStream os = socket . getOutputStream ( ) ; out = new BufferedOutputStream ( os ) ; } catch ( IOException e ) { e . printStackTrace ( ) ; } }
initializes a binary output stream from a socket .
