make socket receiver static