client app ---- c socket