Skip to content

Commit a1a3ccc

Browse files
author
Daniel Mewes
committed
Merge branch 'vexocide/4519' into vexocide/5406
2 parents af4fbf4 + 2004cd3 commit a1a3ccc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

net.coffee

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1103,6 +1103,9 @@ class TcpConnection extends Connection
11031103
# just set the `@open` flag to `false`
11041104
@rawSocket.on 'timeout', => @open = false; @emit 'timeout'
11051105

1106+
clientPort: -> @rawSocket.localPort
1107+
clientAddress: -> @rawSocket.localAddress
1108+
11061109
# #### TcpConnection close method
11071110
#
11081111
# This is a public method for closing the current connection. It

0 commit comments

Comments
 (0)