integrated pairsocket class