阅读背景:

C#:我如何优雅地或简单地进行交叉线程调用?

来源:互联网 

i have a tcp server that, when a client connects, it makes a new thread and adds them to it but everytime i try to access information about the connection or anything about it, say even keeping a count of how many clients are connected, i get a cross-thread illegal exception or something like that.i have a tcp server that, when a client connect




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: