netcmd/ping: static analysis - add error check
netcmd/ping: static analysis - add error check

This patch addes erorr check about setsockopt.

Change-Id: I2cab53090066ad248a03aef62fd2d7085d681933
Signed-off-by: Byoungtae Cho <d399e7ab5fdc23c09a148b7028e772c5bd5c24c5@samsung.com>

JunhwanPark/TizenRT,JunhwanPark/TizenRT,JunhwanPark/TizenRT,JunhwanPark/TizenRT,JunhwanPark/TizenRT,JunhwanPark/TizenRT