# `Teals.Socket`
[🔗](https://github.com/upmaru/teals/blob/v0.1.0/lib/teals/socket.ex#L1)

A TLS server socket, returned by `Teals.handshake/3`.

It names the connection process, which owns the TCP socket and holds the TLS
session, and the TCP socket itself. Its fields are private to `:teals`.

# `t`

```elixir
@type t() :: %Teals.Socket{pid: pid(), tcp: :gen_tcp.socket()}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
