We have this in bind section to limit 2 connections.
Library Version: ## [2.7.0] - 2019-12-11
//deny multiple connection with same smpp system id max 2 allowed
if (_server.ConnectedClients.Count(c => c.SystemID == data.SystemId) > 2)
{
data.Response.Header.Status = CommandStatus.ESME_RALYBND;
Search found 3 matches
- Tue Jun 23, 2020 10:37 am
- Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
- Topic: SMPP Server An exception was thrown by a TaskScheduler. ---> System.OutOfMemoryException:
- Replies: 6
- Views: 187226
- Sat Jun 20, 2020 5:52 pm
- Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
- Topic: SMPP Server An exception was thrown by a TaskScheduler. ---> System.OutOfMemoryException:
- Replies: 6
- Views: 187226
SMPP Server An exception was thrown by a TaskScheduler. ---> System.OutOfMemoryException:
Out of Memory Exception when a clients attempts multiple binds to the server.
19.06.2020 12:10:12:INFO :2920: (SmppServerClient2817.Socket) XXXX:2465 => XXX:61928 Connection established.
19.06.2020 12:10:12:INFO :2920: (SmppServer1) [XXX:61928] connected.
19.06.2020 12:10:12:ERROR:2920 ...
19.06.2020 12:10:12:INFO :2920: (SmppServerClient2817.Socket) XXXX:2465 => XXX:61928 Connection established.
19.06.2020 12:10:12:INFO :2920: (SmppServer1) [XXX:61928] connected.
19.06.2020 12:10:12:ERROR:2920 ...
- Sat Jun 20, 2020 5:32 pm
- Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
- Topic: Race condition in MessageComposer causes NullReferenceException
- Replies: 6
- Views: 41626
Re: Race condition in MessageComposer causes NullReferenceException
Can you suggest what code changes did you made for this fix ?