I'm aware that it's straightforward to redirect the shell output to a file.
So I should also be able to set up a socket and redirect the shell's output to the socket, as essentially it's just another file descriptor (I think)?
I've seen some example C programs that create some basic client/server functionality but (as small as they are) this seems rather like over-kill.
Can I set up a socket with just a few commands in the shell? If so, what's the syntax I need?
I realise this is probably extremely simple, but I'm new to VxWorks, and having spent the last two days trawling the web for the answer I decided to ask here!
Thanks for any help you're willing to offer.
Dan