[En-Nut-Discussion] Redirection of both stdin and stdout to connected TCP socket

Willem Myburgh willem.myburgh at gmail.com
Wed Oct 25 12:44:31 CEST 2006


Hi Everyone
I'm struggling to figure out how to redirect stdin and stdout to a connected
TCP socket. According to the Standard I/O documentation the application can
use freopen(). However, I do not see how the parameters of this function
cater for a socket reference. What is the correct way to implement this?

Kind Regards
-- 
Willem Myburgh
South Africa



More information about the En-Nut-Discussion mailing list