[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MiNT] ksocket



> > For example, NFS.XFS refuses to compile without ksockets.
> > What is ksockets?  Beats me, but NFS won't compile without
> > it.  I have tried the ordinary sockets, but then GCC reports
> > missing prototypes then.
> >
> I don't know, but I assume ksockets is some kind of layer (or extra
> functionality) on top of the ordinay socket-API. It's available at
> ftp.uni-paderborn.de/ftp/disk4/atari/cgcc/lib.

Don't know the NFS.XFS sources, but in the sources for the socket device
I know, you can #define some kernel socket option. I never tried this,
but it looked to me, that it was possible to compile the socket
functionality into the kernel. Therefore you would need different
prototypes for the socket functions, as you have to call them
differently if they are part of the kernel. Removing the "k" in this
case should do the trick.

jps