When using a wrong address (such as invalid characters), the program terminates with the following error:
terminate called after throwing an instance of 'Poco::SystemException'
what(): System exception
Aborted
Wouldn't it better to have an explicit method that checks the validity of an address string and also have that function called when creating a SocketAddress object? (An InvalidSocketAddress exception could be thrown)





