You could do this with an Arduino with an Ethernet shield for not too much money.