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

LINGER, RECONNECT_IVL and BACKLOG take 'int' instead of a sized primitive #125

Closed
chuckremes opened this issue Nov 27, 2010 · 1 comment
Closed

Comments

@chuckremes
Copy link
Contributor

When using integers from scripting environments (even under a 64-bit build) there can be disagreements on how the runtime environment defines an int versus what the library is expecting.

Just be specific and make those args int64_t so we can avoid any potential bugs.

@sustrik
Copy link
Member

sustrik commented Dec 3, 2010

As 0MQ is heading towards BSD socket (POSIX) compliance, the 'int' seems more appropriate than 'int64_t'. In any case the types cannot be changed till version 3.0 (the change would break backward compatibility). The whole topic of socket option types have to be discussed in detail then. I'm closing the issue in the meantime.

benjdero pushed a commit to benjdero/libzmq that referenced this issue Feb 20, 2023
bluca pushed a commit that referenced this issue Oct 31, 2023
Updated version to 4.0.8 for next release
This issue was closed.
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