Like I said, it's not some simple thing, so there isn't some easy example to show you. Maybe someone will spend the time to do one, but I wouldn't hold your breath. Better to learn to script and use sockets yourself before you try figuring out something complicated like that.