Skip to content

Commit

Permalink
respond to comments
Browse files Browse the repository at this point in the history
kshyatt committed Sep 30, 2023
1 parent 9938903 commit 3761634
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions stdlib/Sockets/src/Sockets.jl
Original file line number Diff line number Diff line change
@@ -548,7 +548,7 @@ julia> server = listen(9000);
julia> socket = connect(9000)
TCPSocket(RawFD(25) open, 0 bytes waiting)
julia> close(socket)
julia> close(socket) # cleanup open socket so that it can be reused
julia> close(server)
```
@@ -629,10 +629,8 @@ reject them. The default value of `backlog` is 511.
# Examples
```jldoctest
julia> server = listen(9000)
julia> server = listen(9876)
Sockets.TCPServer(RawFD(24) active)
julia> close(server);
```
"""
function listen(addr; backlog::Integer=BACKLOG_DEFAULT)

0 comments on commit 3761634

Please sign in to comment.