Handles exception if the port is in use

Stroustrup style and hard limits on line lengths in cases like this?

FYI I'm really not sure about that.