update some network api

Signed-off-by: Fuang.Cao <cavan.cfa@gmail.com>