preliminary socket support