linux c language server and client