Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Socket creation failed using an executable with Dokan #92

Closed
EpsilonXX opened this issue Oct 15, 2015 · 7 comments
Closed

Socket creation failed using an executable with Dokan #92

EpsilonXX opened this issue Oct 15, 2015 · 7 comments

Comments

@EpsilonXX
Copy link

Hi,

I'm wondering if anyone succeeded to run an executable with socket creation using Dokan.
I got the error 10022 using socket(AF_INET,SOCK_STREAM,0) like reported at
https://code.google.com/p/dokan/issues/detail?id=226.

I ran mirror with different options without a chance.
Do you have any ideas how to fix it ?

Best regards ,
EpsilonXX

@Maxhy
Copy link
Member

Maxhy commented Oct 15, 2015

This should be handled with #47 and #50 according to the following discussion https://www.osronline.com/showthread.cfm?link=250353

@Maxhy Maxhy added the Bug label Oct 15, 2015
@Maxhy
Copy link
Member

Maxhy commented Jan 11, 2016

@EpsilonXX mount manager branch with correct file system registering was merged. Your issue should now be fixed, could you confirm?

@Liryna
Copy link
Member

Liryna commented Jan 11, 2016

The release with the possible fix: https://github.com/dokan-dev/dokany/releases/tag/v1.0.0-BETA1

@EpsilonXX
Copy link
Author

Hi guys,

I've just tried the new version but got the same error,could you check with this sample?
Run mirror and call the testDokanSocket.exe from dokan,if everything is ok you should get
"socket succeeded: xx"

testDokanSocket.zip

Thx

@Maxhy
Copy link
Member

Maxhy commented Jan 11, 2016

Indeed... I thought that filter manager would attach itself to the device with the latest changes but it is not the case. This is outside by knowledge now, any help would be appreciated...

@Maxhy
Copy link
Member

Maxhy commented Jan 12, 2016

Mhh this is because of DokanInitVpb on DokanCreateDiskDevice (

DokanInitVpb(diskDeviceObject->Vpb, diskDeviceObject, volDeviceObject);
) I believe.
Vpb initialization should now only be done on IRP_MN_MOUNT_VOLUME, now that the file system is correctly registered. I'm gonna fix that later.

@Maxhy
Copy link
Member

Maxhy commented Feb 1, 2016

Fixed thanks to everybody. You can build yourself to test it or wait for the next beta in the coming days.

@Maxhy Maxhy closed this as completed Feb 1, 2016
Liryna added a commit to dokan-dev/dokan-dotnet that referenced this issue May 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants