working sample net server