From: John Summerfield <[EMAIL PROTECTED]>
> > 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.
Rather than explain it to you I'll let you figure it out. You may
=never= figure it out, but maybe when you've been working on
UNIX internals for 20 years you'll learn to be more creative ...
Or not.
> http://os2.ami.com.au/os2/ for OS/2 support.
Hey, another O/S I wrote kernel internals for!
-- Julie (sheesh).
--
To unsubscribe:
mail -s unsubscribe [EMAIL PROTECTED] < /dev/null