Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

MODE command (Developers)

posted by tom Homepage, Germany (West), 02.11.2021, 18:53

> In fact, even "com1"
> should be abstracted and changed to perhaps
> "external:eternal-september.org:119"

> I don't really understand this. I'm basically trying
> to connect to something that looks like a BBS. That's
> the paradigm I like. I don't like doing TCP/IP calls.
> I like the simplicity of a serial port.

IMHO you are remarkably clueless in what you are 'designing'.

even skipping the hard hardware level (RS232, RS422, RS485),
soft hardware level (baud rate, parity, etc.)

COM as a blocking call is hugely useless.

just imaging calling your "external:eternal-september.org:119" as a blocking call.

forgot to plugin modem line? wait a minute and reboot.
forgot to power up the modem ? wait a minute and reboot.

DNS resolver (eternal-september.org) not online? reboot.

eternal-september.org on maintenance or power failure? reboot.

your C90 everything design is simply not suited to real-world communication.

the socket interface was invented/designed for exactly this purpose.

of course, you may develop a TSR that does all this TCP/IP stuff and looks on top like
fd = fopen("external:eternal-september.org:119", "r+b"),

but 32-bit MSDOS won't help in implementing it.

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 237 users online (0 registered, 237 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum