SetPort sets a peer's sync port
(port uint16)
| 90 | |
| 91 | // SetPort sets a peer's sync port |
| 92 | func (this *PeerCom) SetPort(port uint16) { |
| 93 | this.port = port |
| 94 | } |
| 95 | |
| 96 | // GetPort returns a peer's sync port |
| 97 | func (this *PeerCom) GetPort() uint16 { |
no outgoing calls