Added WriteToSocket() to Socket class and source to change daq config