Primary Interface and Dashboard Commands

I am connecting my robot and GUI through a socket connection as primary interface on port 30001. I would like to have the GUI be able to release the brakes of the robot through commands as well as other commands that I found available in the dashboard port on 29999. I wanted to ask how do I connect to port 30001 but still send dashboard commands, do I have to disconnect from primary interface and reconnect after running the command? Or is there a way where I can send dashboard commands on port 30001?

F.Kamal,
why can’t you open multiple socket connections at the same time?
Keep your primary interface connection open (30001)
and open a second dashboard connection (29999)