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

Stop using 'socket' in sample code #83

Closed
hintjens opened this issue Oct 19, 2012 · 0 comments
Closed

Stop using 'socket' in sample code #83

hintjens opened this issue Oct 19, 2012 · 0 comments

Comments

@hintjens
Copy link
Member

Problem: when I copy/paste sample code that has a variable 'socket' into code that is using real socket variables called something else, the results build without trouble but die weirdly at runtime. Cause; 'socket' is a function.

Solution: ban the use of 'socket' as variable in CZMQ. As alternative I've used 'zocket' everywhere.

hintjens added a commit to hintjens/czmq that referenced this issue Oct 19, 2012
methodmissing added a commit that referenced this issue Oct 19, 2012
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