I want to create a TCPSocket or SocketPort array,
and reuse the element of the array every times the client connect to the server.
So I can avoid new the object quit often.
I think avoid memory alloc frequently can keep the server more stably and quickly.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I want to create a TCPSocket or SocketPort array,
and reuse the element of the array every times the client connect to the server.
So I can avoid new the object quit often.
I think avoid memory alloc frequently can keep the server more stably and quickly.