I have some code that is sending output to stdout. I'd like to send
it over a socket. Can I cast the socket descriptor to FILE * using fdopen and call fprintf with FILE * as the first parameter.
thanks.
bsd_newbie
it over a socket. Can I cast the socket descriptor to FILE * using fdopen and call fprintf with FILE * as the first parameter.
thanks.
bsd_newbie