Add utils function class.

Signed-off-by: oooxff <oooxff@126.com>
Add test sample code for get host by name.

Signed-off-by: oooxff <oooxff@126.com>
Add parser host IP function.

Signed-off-by: oooxff <oooxff@126.com>
Re-design main entry.

Signed-off-by: oooxff <oooxff@126.com>