Add states and more verifications

This commit is contained in:
Bolke de Bruin
2020-07-20 18:51:00 +02:00
parent f50dc2c82d
commit 6fd7b047cd
3 changed files with 71 additions and 16 deletions

View File

@@ -79,4 +79,4 @@ func (t *LegacyPKT) SendAccept(doSeed bool) {
func (t *LegacyPKT) Drain() {
p := make([]byte, 32767)
t.Conn.Read(p)
}
}