working to get an uniform implementation for linux<->win32 transfers