I don't see much use of TCPClient
, yet there is a lot of Socket
? What is the major difference between them and when would you use each?
I understand that .NET Socket
is written on top of WINSOCK, and TCPClient
is a wrapper over Socket
class. Thus TCPClient
is way up the chain, and possibly inefficient. Correct me if I am wrong.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…