Server script without built-in sockets

Craig White craig at tobyhouse.com
Tue Oct 23 10:21:27 MST 2007


On Mon, 2007-10-22 at 18:52 -0700, Kurt Granroth wrote:
> Craig White wrote:
> > On Mon, 2007-10-22 at 18:21 -0700, Kurt Granroth wrote:
> >> Am I out of luck, here?  Or is there some commonly available utility out
> >> there that can open up a socket for me?
> > ----
> > perhaps I am missing something but there is a package called 'expect'
> > which does essentially what you want.
> 
> Can 'expect' open up a socket?  I've used it a few times in the past to
> automate telnet and the like but the fact that I had to use telnet
> implies that expect doesn't have inherent socket capability.
> 
> I'll admit that I haven't used expect in awhile, though, and even then,
> I didn't use it a lot...
----
nothing in the man page to suggest it but you are much more
knowledgeable about this stuff than I because I just assumed that a
socket is a mknod file somewhere with permissions set to allow specific
users/demons to pass data.

-- 
Craig White <craig at tobyhouse.com>



More information about the PLUG-discuss mailing list