For the database you could use MySql or something lightweight or store data in xml files on the server. Socket code is fairly simple but you must figure out a common protocol. You likely won't be...