Code example for LocalServerSocket

0
 
	public StreamingLoop (String addr)	
	{ 
		localAddress = addr;
        try { 
			lss = new LocalServerSocket(localAddress);
		} catch (IOException e) {
			e.printStackTrace();
		}		 
	} 
	 
    public InputStream getInputStream() throws IOException{
       return receiver.getInputStream(); 
    } 
 
    public OutputStream getOutputStream() throws IOException{
       return sender.getOutputStream();
    } 
 
	public void ReleaseLoop() 
Stop searching for code, let great code find you!  Add Codota to your java IDE