- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ExampleDialer_unix (0.22 sec)
-
src/net/example_test.go
if err != nil { log.Fatalf("Failed to dial: %v", err) } defer conn.Close() if _, err := conn.Write([]byte("Hello, World!")); err != nil { log.Fatal(err) } } func ExampleDialer_unix() { // DialUnix does not take a context.Context parameter. This example shows // how to dial a Unix socket with a Context. Note that the Context only // applies to the dial operation; it does not apply to the connection once
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 13 16:36:59 UTC 2021 - 8.5K bytes - Viewed (0)