Mail Archives: djgpp/1996/11/03/04:22:35
On Sat, 2 Nov 1996, Orlando Andico wrote:
> > Following the build instructions, I got it to ping successfully.
>
> The ping program is apparently a trivial sort. I got it to build under
> both DJGPP 1.x and 2.0, and it pinged, yes, but according to the porter it
> can't do blocking I/O. So I tried using select() to poll the port and
> avoid use of blocking I/O, but that did not work. The level of support is
> definitely NOT at the level where you can recompile your simple Unix
> network apps under DJGPP, unfortunately.
Without looking at the sources, I'd guess that since the port was done
for DJGPP v1.x, it doesn't use the filesystem extensions feature
introduced with v2.0. I suggest to whoever is interested to check out
the filesystem extensions and implement TCP/IP support on that level. If
you do this, all the rest of I/O (including `select') is taken care of
automagically for you. It's an incredible tool for extending DJGPP,
believe me. (Thank you, DJ, for including it!)
- Raw text -