Added rid to Conn interface (#1513)

This commit is contained in:
Joshua Flancer 2019-01-13 16:54:30 -08:00 committed by Ryan Dahl
parent b1c59d7231
commit fda604ff05
2 changed files with 3 additions and 0 deletions

View file

@ -22,6 +22,7 @@ testPerm({ net: true }, async function netDialListen() {
assertEqual(1, buf[0]);
assertEqual(2, buf[1]);
assertEqual(3, buf[2]);
assert(conn.rid > 0);
// TODO Currently ReadResult does not properly transmit EOF in the same call.
// it requires a second call to get the EOF. Either ReadResult to be an