Yes, the socks can be used for masah while travelling. The period for which masah can be made is extended to 72 hours for a traveler (musaafir.) For more information see the masah alal khuffain page here (hyperlink to a page which has the following info: For a MUQEEM (one who is not considered a traveler) masah alal khuffain is valid for a period of 24 hours.
For a MUSAAFIR (traveler) the period permissible for masaha alal khuffain is 72 hours.
The period of 24 or 72 hours will be reckoned from the time the Wudhu (after which the Khuffain were put on) breaks, not from the time the Khuffain were put on.
For example, a Muqeem makes Wudhu at 6 p.m. and after completing his Wudhu he puts on Khuffain. At 8 p.m. his Wudhu breaks. Twenty-four hours will be reckoned from 8 p. m. Hence, it will be permissible for him to make masah alal khuffain each time he makes Wudhu until 8 p.m. the next day.
Upon expiry of 24 hours masah alal khuffain will no longer be valid. When the period of (24 hours for the Muqeem and 72 hours for the Musaafir) expires, the KHUFFAIN should be removed and the FEET washed. It is not necessary to renew the WUDHU.