fixed ios
control via sockets