sockets working, anomalies generated