Code example for LocalSocket

Methods: shutdownInput

0
        } 
    } 
 
    private void shutdownInputStream() { 
        try { 
            mSocket.shutdownInput();
        } catch (IOException e) {
        } 
    } 
 
    private void shutdownOutputStream() { 
        try { 
            mSocket.shutdownOutput();
        } catch (IOException e) {
        } 
    } 
 
    private byte[] readBuffer(InputStream is, int length) throws IOException {
        byte[] buffer = new byte[length];
        int pos = 0;
        while (true) {