worked on pc socket
fixed syntax error