SocketAsyncEventArgs vs TcpListener / TcpClient
Consider an example scenario:
Client 1. One information as a message 2. Send the same data message 10,000 times to the server 3. Connect to only one server at a time
Server 1. receive a message from 1000 clients simultaneously (if possible, if not, as far as possible) 2. Cancel the received message in memory (no need to write to a file)
This scenario is easily implemented using TcpListener / TcpClient. However, I need to emphasize the machines.
Which one should I use; SocketAsyncEventArgs or TcpListener / TcpClient? What for? Can this script use reusable SocketAsyncEventArgs?
+1
source to share
No one has answered this question yet
See similar questions:
or similar: