[libptcp] refine & work