Writing data

Top  Previous  Next

To send data you must first obtain the java.io.OutputStream associated with the connection. You can do this using the IpClientSsl#getOutputStream method. Once you have obtained the OutputStream you can write data as you would to any other OutputStream.

 

Example

 

// get output stream for tunnel

OutputStream out = ssl.getOutputStream();

 

// write data to output stream

out.write(buffer);

 

 

 





Home | Company | Products | Solutions | Purchase | Support | Services | Blog

© 2021 JSCAPE LLC