- Timestamp:
- Jul 6, 2020, 3:31:11 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/soju.1.scd
r331 r353 117 117 _addr_ supports several connection types: 118 118 119 - _[ircs://]host[:port]_ connects with TLS over TCP 120 - _irc+insecure://host[:port]_ connects with plain-text TCP 119 - _[ircs://]<host>[:port]_ connects with TLS over TCP 120 - _irc+insecure://<host>[:port]_ connects with plain-text TCP 121 - _unix:///<path>_ connects to a Unix socket 121 122 122 123 Other options are: -
trunk/upstream.go
r352 r353 142 142 if err != nil { 143 143 return nil, fmt.Errorf("failed to dial %q: %v", addr, err) 144 } 145 case "unix": 146 logger.Printf("connecting to Unix socket at path %q", u.Path) 147 netConn, err = dialer.Dial("unix", u.Path) 148 if err != nil { 149 return nil, fmt.Errorf("failed to connect to Unix socket %q: %v", u.Path, err) 144 150 } 145 151 default:
Note:
See TracChangeset
for help on using the changeset viewer.