0
0
Fork 0
mirror of https://github.com/schollz/croc.git synced 2025-10-11 13:21:00 +02:00

block connection

This commit is contained in:
Zack Scholl 2019-04-30 11:30:36 -06:00
parent d1780e70b7
commit a35779f718

View file

@ -132,6 +132,7 @@ func New(ops Options) (c *Client, err error) {
return return
} }
log.Debugf("connection established: %+v", c.conn[0]) log.Debugf("connection established: %+v", c.conn[0])
fmt.Println(c.conn[0].Receive())
// use default key (no encryption, until PAKE succeeds) // use default key (no encryption, until PAKE succeeds)
c.Key, err = crypt.New(nil, nil) c.Key, err = crypt.New(nil, nil)