I'll be doing that ASAP then. I just noticed that you made an update to fix the 'hang' problem discussed elsewhere, so that is the version I'll start my work on.
Originally Posted by EEUG
Good. This way I can get right on with the networking.
I've made some changes, so you can reuse existing stuff (directory listing, for example). There's also an icon for 'netfs' :).
Well, what can a PS2 program do if the user kills the PC-side server ?
Most challenging part (I think) is handling device connect/disconnect (if, for example, server dies, of started after SMS).
All it can do is to retry and wait for an abortion command, as it can't reestablish contact properly even if ps2client is restarted, because that would require opening the file again, which SMS has no clue as to being needed.
I think it would be useless to attempt making the program solve all such problems by itself, automatically. If the user messes up, let him repair it too. ;)
At least that's what I'll go by for the initial versions of this interface, so as not to waste time on 'frills' before achieving basic functionality. Smart error recovery can be added later, if/when we feel that this is a real need.
I'm glad you thought of this, because functionality with fileXio is extremely dubious, not just as to speed. I've never seen any code using fileXio with host: so I doubt that it has ever been debugged, and we both know what that means...
I also suspect, that using fileXio for 'host' is very slow, so, I've provided a mechanism to switch between 'fileio' and 'fileXio': take a look at FileContext.h/.c. Good luck !
In fact I made a similar change in one of your earliest SMS versions, the one that was still for CDDAFS only, and with fixed AVI filename, but with your high development speed of SMS, I felt it better to wait a while before adding such changes properly.
Well, I do have an original MI chip, so I could take part in that too, but only for CD I'm afraid, as my PS2 laser can't handle any DVDs. But I don't think you'll have any problem finding other volunteers :)
@all: I'm going to take some break with further development now (thinking of the best solution for CD/DVD support at the same time). When I'll be ready I'll annoy someone with modchip to launch countless test programs :).
Best regards: dlanor