[Question] Listen for many connections
Per documentation one stack can have at most max_tcp_endpoints connections.
When listening zocket is created , it's assigned to the stack. All accepted zockets are handled by same stack.
Is it possible to have more than 64 accepted concurrent zockets by same listening zocket?
Per documentation one stack can have at most
max_tcp_endpointsconnections. When listening zocket is created , it's assigned to the stack. All accepted zockets are handled by same stack.Is it possible to have more than 64 accepted concurrent zockets by same listening zocket?
its not possible, because tcpdirect internally uses bitmaps as 64bit unsigned integer to retrieve zocket id fast (for pending RX/TX) using bitwise operations. its hardcoded in code to max 64. You will have to add more stacks to add more endpoints
You will have to add more stacks to add more endpoints
Does it mean i can not have more that 63 concurrent accepted zockets for the single endpoint (single port)? I can not listen for same port on multiple stacks.