Pergunta

I want to create a test program about using socket. First i need to write a simple server program which will listen to the port xxx and retrieve the all streams in different thread to make available to listen other requests(at this point i'm suspicious to be able to get different requests at the same time without moving current request to another port and thread).

What code can make this situation as it is happing real time(client&server will be at the same machine and i think request and answe will be very quickly, thats why i will not be able to see 4-5 requests as they are concurrent requests)?

Foi útil?

Solução

You can use a RTP library for that here is a nice article link to begin

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top