views:

80

answers:

2

And especially are there .NET libraries available for the purpose? Two hours of Google searches have turned up nothing so I'm not optimistic, but ...

The big question: is it even possible to use ZModem over USB?

TIA.

A: 

Normal USB modems fakes a com port. It should be trivial to write to a COM port. I think the problem figuring out which port to use.

ggonsalv
+2  A: 

It depends what you want to transfer. USB is a bus which has multiple transfer modes (packetized data), including several standard ones such as CDC (Communications Device Class) which Windows will emulate as a COM port.

However, USB is also master->slave. You cannot simply connect two computers together using USB with just a cable. The "transfer cables" they sell contain active electronics to bridge the two hosts together, but are proprietary.

In short, yes, you can use ZModem over USB since ZModem is basically a byte stream with error recovery information, which can be sent in any matter of methods. You could even print it out and send it by carrier pigeon, though it is not optimized for this (as it requires bi-directional communication). The complexity lies in the USB portion, and the problem you are trying to solve.

Yann Ramin