improve example ip138.cpp

Signed-off-by: Jack <jack.wgm@gmail.com>