[PD-dev] using CSocket in external