Code examples for LocalSocket

Codota analyzed 7,668,838 open source code samples to find the most common, credible and clear examples.
You can now enable Codota on your own code to easily search and navigate your Java codebase.
49:	mSocket = new LocalSocket(); 
-
54:	mSocket.connect(address); 
-
56:	mIn = mSocket.getInputStream(); 
57:	mOut = mSocket.getOutputStream(); 
-
69:	mSocket.close(); 
Full Snippet Info
8
CodeRank
49:	mSocket = new LocalSocket(); 
-
54:	mSocket.connect(address); 
-
56:	mIn = mSocket.getInputStream(); 
57:	mOut = mSocket.getOutputStream(); 
-
69:	mSocket.close(); 
Full Snippet Info
8
CodeRank
65:	receiver = new LocalSocket(); 
-
67:	receiver.connect(new LocalSocketAddress(localAddress)); 
68:	receiver.setReceiveBufferSize(recvBufferSize); 
Full Snippet Info
7
CodeRank
46:	mSocket = new LocalSocket(); 
-
51:	mSocket.connect(address); 
-
53:	mIn = mSocket.getInputStream(); 
54:	mOut = mSocket.getOutputStream(); 
-
65:	if (mSocket != null) mSocket.close(); 
Full Snippet Info
7
CodeRank
72:	receiver = new LocalSocket(); 
-
74:	receiver.connect(new LocalSocketAddress(localAddress)); 
75:	receiver.setReceiveBufferSize(1000); 
76:	receiver.setSendBufferSize(1000); 
Full Snippet Info
6
CodeRank
46:	mSocket = new LocalSocket(); 
-
51:	mSocket.connect(address); 
-
53:	mIn = mSocket.getInputStream(); 
54:	mOut = mSocket.getOutputStream(); 
-
65:	if (mSocket != null) mSocket.close(); 
Full Snippet Info
7
CodeRank
26:	receiver = new LocalSocket(); 
27:	receiver.connect(new LocalSocketAddress("com.vilkas04.ol-" + session_id)); 
28:	receiver.setReceiveBufferSize(500000); 
29:	receiver.setSendBufferSize(500000); 
Full Snippet Info
6
CodeRank
17:	socket = new LocalSocket(); 
18:	socket.connect(new LocalSocketAddress(socketPath, 
-
22:	OutputStream os = socket.getOutputStream(); 
-
29:	socket.close(); 
Full Snippet Info
6
CodeRank
31:	receiver = new LocalSocket(); 
-
34:	receiver.connect(new LocalSocketAddress(localAddress)); 
35:	receiver.setReceiveBufferSize(bufferSize); 
36:	receiver.setSendBufferSize(bufferSize); 
Full Snippet Info
6
CodeRank
24:	socket = new LocalSocket(); 
25:	socket.connect(new LocalSocketAddress(path, LocalSocketAddress.Namespace.FILESYSTEM)); 
-
27:	socketWriter = new PrintWriter(socket.getOutputStream()); 
28:	socketReader = new BufferedReader(new InputStreamReader( socket.getInputStream())); 
Full Snippet Info
6
CodeRank
26:	receiver = new LocalSocket(); 
-
29:	receiver.connect(new LocalSocketAddress("Spydroid" + id)); 
30:	receiver.setReceiveBufferSize(500000); 
31:	receiver.setSendBufferSize(500000); 
-
77:	receiver.close(); 
Full Snippet Info
6
CodeRank
48:	receiver = new LocalSocket(); 
-
51:	receiver.connect(new LocalSocketAddress("librtp-"+id)); 
52:	receiver.setReceiveBufferSize(500000); 
53:	receiver.setSendBufferSize(500000); 
-
100:	receiver.close(); 
Full Snippet Info
6
CodeRank
43:	localSender = new LocalSocket(); 
44:	localSender.connect(new LocalSocketAddress("videoserver")); 
45:	localSender.setReceiveBufferSize(10240); 
46:	localSender.setSendBufferSize(10240); 
Full Snippet Info
6
CodeRank
27:	mSocket = new LocalSocket(); 
28:	mSocket.connect(new LocalSocketAddress(mAdminSockPath, 
-
30:	mOs = mSocket.getOutputStream(); 
31:	mIs = mSocket.getInputStream(); 
Full Snippet Info
6
CodeRank
55:	mSocket = new LocalSocket(); 
-
60:	mSocket.connect(address); 
-
62:	mIn = mSocket.getInputStream(); 
63:	mOut = mSocket.getOutputStream(); 
-
75:	mSocket.close(); 
Full Snippet Info
6
CodeRank