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

minor cross platform issue macos to windows #2

Open
amarco opened this issue Mar 17, 2023 · 1 comment
Open

minor cross platform issue macos to windows #2

amarco opened this issue Mar 17, 2023 · 1 comment

Comments

@amarco
Copy link

amarco commented Mar 17, 2023

When using npsocket for cross platform transfers (i.e. between macos and windows or linux and windows) it is important to add the Indianess specfifier in teh pack and unpack routine. struct,pack("L"...) or struct.unpack("L",...) should have an indianess specficer infront of the L, for instance "!L" this will prevent the pickle problem of invalid loadkey..

@vaghawan
Copy link
Contributor

Hi @amarco , Thank you, mind sending a PR with a fix for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants