Lines Matching refs:send
1 // Flags: --test-udp-no-try-send
13 let send;
21 sock.send(
28 // create the send wrap synchronously.
34 send = as[0];
37 assert.strictEqual(send.type, 'UDPSENDWRAP');
38 assert.strictEqual(typeof send.uid, 'number');
39 assert.strictEqual(typeof send.triggerAsyncId, 'number');
40 checkInvocations(send, { init: 1, before: 1 }, 'when message sent');
46 checkInvocations(send, { init: 1, before: 1, after: 1 }, 'when sock closed');
54 checkInvocations(send, { init: 1, before: 1, after: 1, destroy: 1 },