diff options
author | Aaron O'Mullan <aaron.omullan@gmail.com> | 2021-10-30 18:51:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-30 18:51:42 +0200 |
commit | 94a81e5e9bda5a7da51bc864e544bf35ef26910e (patch) | |
tree | 517e0afa986e56ac446b14427f28fb9c16aea426 /ext/net/01_net.js | |
parent | a24735aa668c79b91d6385a702e58c68c4a94a8d (diff) |
cleanup(ext/net): consistent op names (#12607)
Diffstat (limited to 'ext/net/01_net.js')
-rw-r--r-- | ext/net/01_net.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/net/01_net.js b/ext/net/01_net.js index 39df5a9d4..fa38c8952 100644 --- a/ext/net/01_net.js +++ b/ext/net/01_net.js @@ -31,27 +31,27 @@ } function opAccept(rid, transport) { - return core.opAsync("op_accept", { rid, transport }); + return core.opAsync("op_net_accept", { rid, transport }); } function opListen(args) { - return core.opSync("op_listen", args); + return core.opSync("op_net_listen", args); } function opConnect(args) { - return core.opAsync("op_connect", args); + return core.opAsync("op_net_connect", args); } function opReceive(rid, transport, zeroCopy) { return core.opAsync( - "op_datagram_receive", + "op_dgram_recv", { rid, transport }, zeroCopy, ); } function opSend(args, zeroCopy) { - return core.opAsync("op_datagram_send", args, zeroCopy); + return core.opAsync("op_dgram_send", args, zeroCopy); } function resolveDns(query, recordType, options) { |