changed socksync char and added printf to monitor