Hi all,
Cool. Fabrice, didn't you work on something similar? I remember you
showing me some work you were doing on use of URLs in TeX documents
at EuroTeX 2001 (in Kerkrade). Whatever became of that?
Hartmut, some comments:
How cross platform is this? I am not a windows programmer (only
work on UNIX), so I do not know if there are sockets available on
Windows. And for a Macintosh port (MacOS 9, anyway), GUSI would
be needed (there is Macintosh port of GUSI to layer sockets on
top of the streams interface that OpenTransport uses).
What about use of poll/select for many different connections, etc?
Tom
On 2003/03/30 at 22:29, Hartmut Henkel
Hi pdftex fans,
on my homepage you find a VERY buggy rough try on a socket interface for (but not limited to) pdftex. This allows to type something like:
\socketmodeon 5 \def\serverport{ftp.someserver.com:21} % watch the colon :-) \immediate\openout 5 = \serverport \immediate\openin 5 = \serverport \immediate\write 5 {something} \immediate\read 5 to \xyz % whatever the server does from "something" \xyz
The problem is, well, that it's VERY buggy, in fact nothing more than a rough sketch, but anyway, it made its 1st PDF file, and I thought when it's out we might find some minute to discuss and scrap it unanimously.