Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for unixsock (0.13 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/bufio/net_test.go

    // across a unixpacket socket. This used to fail due to an unnecessary
    // empty Write call that was interpreted as an EOF.
    func TestCopyUnixpacket(t *testing.T) {
    	tmpDir := t.TempDir()
    	socket := filepath.Join(tmpDir, "unixsock")
    
    	// Start a unixpacket server.
    	addr := &net.UnixAddr{
    		Name: socket,
    		Net:  "unixpacket",
    	}
    	server, err := net.ListenUnix("unixpacket", addr)
    	if err != nil {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Feb 07 19:37:07 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  2. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/TunnelingUnixSocket.java

    import java.net.SocketAddress;
    import jnr.unixsocket.UnixSocket;
    import jnr.unixsocket.UnixSocketAddress;
    import jnr.unixsocket.UnixSocketChannel;
    
    /**
     * Subtype UNIX socket for a higher-fidelity impersonation of TCP sockets. This is named "tunneling"
     * because it assumes the ultimate destination has a hostname and port.
     */
    final class TunnelingUnixSocket extends UnixSocket {
      private final File path;
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 12 16:33:52 GMT 2019
    - 1.9K bytes
    - Click Count (0)
  3. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/UnixDomainServerSocketFactory.java

    import java.net.SocketAddress;
    import java.net.SocketException;
    import java.nio.channels.ClosedChannelException;
    import javax.net.ServerSocketFactory;
    import jnr.unixsocket.UnixServerSocketChannel;
    import jnr.unixsocket.UnixSocketAddress;
    import jnr.unixsocket.UnixSocketChannel;
    
    /** Impersonate TCP-style ServerSocketFactory over UNIX domain sockets. */
    public final class UnixDomainServerSocketFactory extends ServerSocketFactory {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 12 16:33:52 GMT 2019
    - 3.1K bytes
    - Click Count (0)
  4. samples/unixdomainsockets/build.gradle.kts

      id("okhttp.quality-conventions")
      id("okhttp.testing-conventions")
    }
    
    dependencies {
      implementation(projects.okhttp)
      implementation(projects.mockwebserver)
      implementation(libs.jnr.unixsocket)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 260 bytes
    - Click Count (0)
Back to Top