Hi,
I have a ServerSocket running which works fine (using AsyncStreamsText in fact).
But as a precaution (DDOS attack) when more than X bytes is received I want to close the connection.
In the _NewText I do a AsyncStreamsText.Close in that case
But I notice this is not closing anything: the _NewText event keeps being called until the sender decides to finish ? I also tried to close the underlying socket or closing the serversocket. All the same effect, the event keeps being called...
What could be happening ?
Tx !
I have a ServerSocket running which works fine (using AsyncStreamsText in fact).
But as a precaution (DDOS attack) when more than X bytes is received I want to close the connection.
In the _NewText I do a AsyncStreamsText.Close in that case
But I notice this is not closing anything: the _NewText event keeps being called until the sender decides to finish ? I also tried to close the underlying socket or closing the serversocket. All the same effect, the event keeps being called...
What could be happening ?
Tx !