reactphp/react — pull request #280 by czt08883 (2014-03-04 13:58:53+00:00)
Title: Added  getRemotePort method to Connection

Hi. There is a method Connection::getRemoteAddress allowing to retreive peer's ip. I was surprised why there is no similar method to get remote peer's port (which could be useful for logging or fingerprinting for example). So I've added this functionality as Connection::getRemotePort.