# Peer Exchange
Pex has one channel. The channel identifier is listed below.
# Message Types
PexRequest is an empty message requesting a list of peers.
PexResponse is an list of net addresses provided to a peer to dial.
|addresses||repeated PexAddress||List of peer addresses available to dial||1|
PexAddress provides needed information for a node to dial a peer. This is in the form of a
URL that gets parsed
NodeAddress. See ParseNodeAddress (opens new window) for more details.
|url||string||See golang url (opens new window)||1|
Message is a
oneof protobuf type (opens new window). The one of consists of two messages.
|pex_request||PexRequest||Empty request asking for a list of addresses to dial||3|
|pex_response||PexResponse||List of addresses to dial||4|