How to apply a Popsocket