c# - Waiting for multiple async request -


i'm working on application sending tcp requests server. problem on client side. responses handled via delegates keep things asynchronous. here signature of 1 request method :

public void requestone(object data, mycallback callback) 

but i'm dealing delegate dictionary (resquest,delegate) keep track of requests supposed update client state.

i don't think it's right way it. i'm looking better architecture.

any ideas / pattern ?


Comments

Popular posts from this blog

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -