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

Failed to init socket #45

Closed
iotify opened this issue Jun 15, 2017 · 1 comment
Closed

Failed to init socket #45

iotify opened this issue Jun 15, 2017 · 1 comment

Comments

@iotify
Copy link

iotify commented Jun 15, 2017

Hi,

I am trying to compile and run the sample http server. However its unable to initialize the socket properly.
Could you please help as source code is not available for socket library?

ubuntu@dpdk$ sudo ./http_server
affinity to 0 core by default
EAL: Detected 2 lcore(s)
EAL: WARNING: cpu flags constant_tsc=yes nonstop_tsc=no -> using unreliable clock cycles !
USER8: LCORE[-1] anssock any lcore id 0xffffffff
USER8: LCORE[-1] Can't find ans memzone
init sock failed
USER8: LCORE[-1] socket: anssock isn't init, (nil)
socket error

@bluenet13
Copy link
Member

you shall run ans(tcp/ip stack) process before run http_server.

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