>
> John Summerfield <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > > I must write a program in C to automate a telnet login to a remote =
> > > > system, execute some tests
> > > > and pipe the output back to parent.
> > > > Does anyone know how to setup a two-way pipe between parent and child
> =
> > > > processes in a=20
> > > > C program that both can send and receive signals??
> > >
> > > man socketpair (hint, look at type AF_UNIX)
> >
> > AF_UNIX does not talk to telnet on remote systems.
>
> Yeah, but you can use it to talk to the telnet on the local
> system, which in turn will talk to telnetd on the remote
> system ...
No. There is NO mention of AF_UNIX in the telnet source code. This is
completely wrong.
Telnet uses AF_INET and AF_INET6.
--
Cheers
John Summerfield
http://os2.ami.com.au/os2/ for OS/2 support.
Configuration, networking, combined IBM ftpsites index.
--
To unsubscribe:
mail -s unsubscribe [EMAIL PROTECTED] < /dev/null