×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




At last, I've checked in the second stage of my patches for DOS support. This cleans up a few bits of existing code, removing unused prototypes from session.c, using an anonymous rather than a dummy struct in terminal.h, and using #error in utility.h. I also extended the WIN32 #ifdefs in utility.c to MSDOS as well.

The only functional change is to call tn5250_stream_disconnect(stream) in tn5250.c when exiting. Otherwise, we leak our reference to the socket FD, and the socket is only closed when the program ends. Watt-32 on DOS aborts the connection with a single RST packet in that case.

--
"A story, I decided, is anything that keeps     http://carey.geek.nz/
the people reading turning the pages, and
doesn't leave them feeling cheated at the
end.  Everything else was up for grabs." -- Neil Gaiman


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.