Overview
Features
Download
Documentation
Community
Add-Ons & Services

Poco::Net::SocketAddress check

Discussion of ideas for features and new projects based on POCO.

Poco::Net::SocketAddress check

Postby aderouineau » 30 Jun 2009, 20:24

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)
aderouineau
 
Posts: 163
Joined: 18 May 2009, 17:38

Return to Wishlist

Who is online

Users browsing this forum: No registered users and 0 guests