This could be simplified with something like
```ruby
shost, sport = sock.peerinfo.split(":")
```