This commit is contained in:
crusader 2017-12-01 12:45:04 +09:00
parent 27c801b9ca
commit 1e66dddf55

View File

@ -15,7 +15,7 @@ func newSocketBuilder(address string) csc.SocketBuilder {
return sb
}
func (sb *SocketBuilders) Dial(dialer *net.Dialer, network, address string) (net.Conn, error) {
func (sb *SocketBuilders) Dial(network, address string) (net.Conn, error) {
return npipe.DialTimeout(`\\.\pipe\`+address, dialer.Timeout)
return npipe.DialTimeout(`\\.\pipe\`+address, sb.HandshakeTimeout)
}