Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions stdlib/Sockets/src/Sockets.jl
Original file line number Diff line number Diff line change
Expand Up @@ -806,6 +806,7 @@ socket is connected to. Valid only for connected TCP sockets.
getpeername(sock::TCPSocket) = _sockname(sock, false)

function _sockname(sock, self=true)
sock.status == StatusInit || check_open(sock)
rport = Ref{Cushort}(0)
raddress = zeros(UInt8, 16)
rfamily = Ref{Cuint}(0)
Expand Down