some  exercises about network programming