# Sockets

```@meta
DocTestSetup = :(using Sockets)
```

```@docs
Sockets.connect(::TCPSocket, ::Integer)
Sockets.connect(::AbstractString)
Sockets.listen(::Any)
Sockets.listen(::AbstractString)
Sockets.getaddrinfo
Sockets.getipaddr
Sockets.getalladdrinfo
Sockets.getnameinfo
Sockets.getsockname
Sockets.getpeername
Sockets.IPv4
Sockets.IPv6
Sockets.TCPSocket
Sockets.UDPSocket
Sockets.accept
Sockets.listenany
Sockets.bind
Sockets.send
Sockets.recv
Sockets.recvfrom
Sockets.setopt
```

```@meta
DocTestSetup = nothing
```
