socket var print