gets the simpliest socket connection happening between backend and frontend