set IPClient
creat & bind socket