updatePeerPort

fun updatePeerPort(p: TorrentPeer, port: Int, src: Int, state: TorrentState): Boolean

Update a connected peer's advertised listen port. This is the simplified port of peer_list::update_peer_port (the single-connection-per-IP path). Returns false on a duplicate-endpoint collision (caller should drop the connection), true otherwise. Marks the peer connectable and folds in src.