linux - How can I listen to some tcp ports with libevent? -


i need listen tcp ports libevent. how can this? should create 1 application , in apps create phtread each tcp port or should create 1 application 1 port?

since want use libevent makes sense (well, makes sense in way) use multiple threads handle connections.


Comments