Use standard library functions to manipulate host/port combinations