2017-11-01 03:20:52 +00:00
|
|
|
package client
|
|
|
|
|
|
|
|
import (
|
2017-11-01 06:49:31 +00:00
|
|
|
"net"
|
2017-11-01 03:20:52 +00:00
|
|
|
|
|
|
|
"gopkg.in/natefinch/npipe.v2"
|
|
|
|
)
|
|
|
|
|
2017-11-01 06:49:31 +00:00
|
|
|
func (ch *ClientHandlers) Connect() (net.Conn, error) {
|
2017-11-01 03:20:52 +00:00
|
|
|
return npipe.Dial(ch.addr)
|
|
|
|
}
|