문제

I am trying to write a webserver that processes requests from multiple clients simultaneously. The way it is designed, only one request can be processed at a time.

What I need is a way to call nextPendingConnection() and then dispatch the connection to a separate thread for processing.

Is there any way to do this?

도움이 되었습니까?

해결책

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top