diff --git a/client/socket_builders_windows.go b/client/socket_builders_windows.go index 33e07aa..4599c8c 100644 --- a/client/socket_builders_windows.go +++ b/client/socket_builders_windows.go @@ -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) }