Io socket maybe working code?