improve the dialer
This commit is contained in:
parent
78075c3e32
commit
d22728c4ee
1 changed files with 4 additions and 0 deletions
|
@ -44,6 +44,10 @@ func NewConn(sam *sam3.SAM, addr, path string, opts []string) (*Conn, error) {
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
c.SAMConn, err = c.StreamSession.DialI2P(addr)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return &c, nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue