socket doesnot want to work