Recently I've been looking for a way to write a program that would my PSP to communicate with my PC through USB. I'm more or less trying to create a client/server setup between the two. I would use a network connection, but long story short, that won't be possible with the physical setup I'll need. I've tried searching around for what I'm looking for, but after a few days of searching, I've found nothing but dead-ends.
To describe what I need, I am basically looking for some sort of function(s) that would allow sending/receiving information through USB like one would send/receive packets over a network. I'm not looking for a way to just send files. I would highly prefer to do this in LUA, even if I have to drop some C code into LUA, but if I have to go with pure C that wouldn't necessarily scare me away.
If anyone knows of how I could do this and could point me in the right direction, it would be greatly appreciated. I can't seem to locate how to do this, though I'm sure it could be done.
Thank you for your time.