Socket communication done. Not tested. The socket runs through localhost only.