So the safest bet would be to emulate a Modem on a COM port that deals in SLIRP packages, then send those directly on the PSP, while through PCAP(as far as I can see the only one Dosbox supports) after translation on the other devices? Is that correct?
Btw, can SLIP packages be converted directly without modification(by simply adding the higher layers) to use with PCAP/TAP? That way, I can let the virtual modem deal in SLIP packets, while sending them through a common framework which sends it using a higher layer with PCAP/TAP and without translation on the PSP?
An UART modem does deal in SLIP packages, is that correct(dial-up modem)? So simply translate those to either SLIRP or packages for PCAP and I'm good to go?
So let the virtual modem connect to any phonenumber, report it's connected, let the modem be put in data mode and then simple stream out/in the SLIP packages. Those SLIP packages are translated into SLIRP packages or PCAP packages before sending and converted backwards when receiving? The SLIP packages are embedded IP packets after all, so translation to/from the native PCAP/TAP or SLIRP packages should be easy? Would that work for all stuff done in a browser(website lookups etc.)?
Edit: It seems SLIP used by those modems(on the Serial port) deal in TCP/IP packets, which are wrapped in SLIP packets. So simply extracting the data from the SLIP packet, add a IEEE 802.11 packet around it, then send it to the network directly? And the reverse for received packets?