Smpp Response Code 4098 (0x1002) and 4099 (0x1003)

Smpp v3.4 client

Moderator: alt

Locked
BenEllis
Posts: 21
Joined: Mon Nov 09, 2009 4:30 pm
Location: Leicester, United Kingdom
Contact:

Smpp Response Code 4098 (0x1002) and 4099 (0x1003)

Post by BenEllis » Thu Dec 17, 2009 4:51 pm

Are these (4098 (0x1002) and 4099 (0x1003)) library specific response codes or have they been returned from the SMSC?

If the latter, any idea what they could mean?

I get them rarely when I send 'sm_submit's
alt
Site Admin
Posts: 988
Joined: Tue Apr 25, 2006 9:45 am

Post by alt » Fri Dec 18, 2009 4:20 pm

These are library specific status codes

Code: Select all

SMPP Client Receive Timeout
SMPPCLIENT_RCVTIMEOUT	= 0x00001002

SMPP Client No Connection
SMPPCLIENT_NOCONN		= 0x00001003
BenEllis
Posts: 21
Joined: Mon Nov 09, 2009 4:30 pm
Location: Leicester, United Kingdom
Contact:

Post by BenEllis » Fri Dec 18, 2009 4:39 pm

Thanks.
dg
Posts: 8
Joined: Mon Nov 24, 2008 3:54 am

More questions about SMPPCLIENT_RCVTIMEOUT

Post by dg » Tue Mar 16, 2010 1:48 am

Good Afternoon Alt (and all!),

Just further on this, what is the trigger for the SMPPCLIENT_RCVTIMEOUT error?

I have downloaded the latest dll (2.8.2) and can run the demo app without issue against multiple SMSCs.

If I replicate the same sending code in my application however I get a timeout every time, although the messages are usually sent.

I thought this might have something to do with the fact that I was connecting as a transiever but I tried altering my bind call to match that of the demo app with no luck (messages were still delivered - but resp was still SMPPCLIENT_RCVTIMEOUT)

I then tried this with the SubmitText method (rather than using Prepare and submit) and the results were the same.

Any info you could offer on this would be much apprecaited.

Thanks,
dg

[Edit: I thought I would compile and run this 'just for the hell of it' and it seems to work without issue - I think the issue might have had to do with my debugging/breakpoints/IDE although I was running through it pretty quickly - Any thoughts on this alt?]
Locked