connection.c partially commented