Socket fix, added DB size txt input