Click here to Skip to main content
15,314,644 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am writing a gateway, which send different PDU packets to a mobile network provider. The packets are being sent over a TCP socket at a specified port. What I dont understand is, when I get a response packet back from the network provider, at my system side, it seems to "reflect" that message and sends the same packet back to the network. if for instance, they send me a submit_sm_resp packet, my gateway seems to be sending a submit_sm_resp packet back, in return to that I get a generick_nack packet, which my system send back to the network again and it goes on and on. The problem is, I do not have code anywhere to create a submit_sm_resp packet, or a generick_nack packet. How is this possible that my system will behave this way?

I have a method running in a thread that listens for packets on that socket.

Any help would be greatly appreciated.
Sergey Alexandrovich Kryukov 16-Apr-12 11:34am
Not enough information. One approach would be creating a simplest possible code sample focusing in just on problem, which should be reproduced. If you cannot figure out the problem, post this code sample with you question. Use "Improve question" above.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900