> I can't think of a spiffy way to do this. Anyway will require a
> call to a function. Why not image?
Exactly my thinking.
> I assume this means that the content returned by image will
> change. If we listen for connections, when would we invoke image
> to get the value. After reading the socket I presume.
You don't have to read the socket.... For instance, this little
snippet of code:
f := open(":1234", "na")
write(image(f))
As soon as a client connects to localhost:1234, open() will return
with a file that represents the connection. Calling image() on it
right now will return "file(:1234)". My change will make it return
"file(:1234:192.168.1.69:45987)" representing a connection from
the host 192.168.1.69, port 45987.
I'd like to do a reverse DNS lookup on the IP number but too many
of those fail, and I don't think we should subject users to that kind
of delay. I could see adding a function in the future to do that.
[Cc:ing unicon-list also.]
-s
_______________________________________________
Unicon-group mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unicon-group