use muti-thread to start a socket server. and ctrl nrf2401