Allright,
Attached is a version of smsc_cgw.c, which adds native support for Sonera ContentGateway (it implements the "Open Text Protocol", a smtp like protocol specified by Sonera). I've done various simulations to eliminate memory leaks, and the code handled well 100 transactions/sec in a simulated environment. Please, as my C skills are quite rusty, have a look at the code and inform me of any apparent problems. I've tried to comment the code as much as possible. Real-life testing has been somewhat limited, but from early observations the implementation handles sending, receiving and delivery reports correctly. Udh works too. Oh, installation requires some trivial patching of smscconn.c (adding the smsc) and cfg.def (adding a "appname" -named parameter to smsc group). - Anders
smsc_cgw.c
Description: Binary data
