make socket independent, it shuld not to care the packet