summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/dgram.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/dgram.js b/lib/dgram.js
index 44a7f09d00..af1e23f512 100644
--- a/lib/dgram.js
+++ b/lib/dgram.js
@@ -85,7 +85,6 @@ function Socket(type, listener) {
this[async_id_symbol] = handle.getAsyncId();
this.type = type;
- this.fd = null; // compatibility hack
if (typeof listener === 'function')
this.on('message', listener);
@@ -116,7 +115,6 @@ function startListening(socket) {
state.handle.recvStart();
state.receiving = true;
state.bindState = BIND_STATE_BOUND;
- socket.fd = -42; // compatibility hack
if (state.recvBufferSize)
bufferSize(socket, state.recvBufferSize, RECV_BUFFER);
@@ -677,7 +675,6 @@ function stopReceiving(socket) {
state.handle.recvStop();
state.receiving = false;
- socket.fd = null; // compatibility hack
}