Resident C sounds interesting .. you should try it out for me.
I coded my TCP/IP in Borland Turbo C++ 3.0 which is a great little compiler but it also requires anybody who wants to use the code to be able to accept one of my libraries. So that eliminates other variants of C, Pascal, BASIC, etc. as possible users of the code.
I understand the concept of 'terminate and stay resident' and I also understand how to 'take over' a software interrupt to provide services like the packet drivers do. I need to learn some details specific to my code. For example, I'm sure it's not safe to use the DOS heap from a TSR so I'll have to have the client code allocate buffers instead. And my tracing functions and error messages go to a file or stderr so those have to be eliminated. After I do some more reading I'll know if this is worth it or not.
excellent! you've got a beta tester for sure right here.
NTCPDRV is really starting to @#$@#$ #$@#$ ME OFF! so unstable when used as a server interface. and it's not me or my code, it's like this with every trumpet-based DOS server app i've ever found online.
I coded my TCP/IP in Borland Turbo C++ 3.0 which is a great little compiler but it also requires anybody who wants to use the code to be able to accept one of my libraries. So that eliminates other variants of C, Pascal, BASIC, etc. as possible users of the code.
I'm sure it's not safe to use the DOS heap from a TSR so I'll have to have the client code allocate buffers instead.
That's what I'm looking into. Something like TCPDRV's interface that any programming lanugage can use seems to be the best way to share the code.
The code itself is small enough to fit in 64K - that is no problem at all. Especially after the tracing is compiled out - I don't think I can include the tracing function in a TSR. And if I make my end user allocate the memory for me then I don't have to worry about the heap problem.
I'd love to see a VNC client out of you .. based on prior exchanges we've had, I can guarantee everybody that it would be fast enough to be useful. Maybe not on a PCjr though - 16 colors in 320x200 is kind of limiting. This might require an XT with VGA.
(Do X servers even support 1 bit color anymore? That's an option ...)
I am curious......what happened to your mTCP project then?(Almost 15 years later ...)
I decided not to go down the TSR path for mTCP........