Any cable that fits both ends and is long enough is perfect.

Use Ethernet to connect to your router (it's faster than WiFi) and Toslink to connect to your audio system (if that has input for it).