We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, I am new to SMPP with golang. Can you please show how to reconnect if the connection dropped. Appreciate your feedback.
The text was updated successfully, but these errors were encountered:
@sidawymaher The way I managed it is this:
defer func() { //catch or finally if err := recover(); err != nil { //catch fmt.Fprintf(os.Stderr, "Exception: %v\n", err) app.Initialize(config) } }() app.Initialize(config)
Where I intialize the bind in app.Initialize(config) and throw a panic whenever the connection drops.
app.Initialize(config)
panic
Sorry, something went wrong.
No branches or pull requests
Hello, I am new to SMPP with golang. Can you please show how to reconnect if the connection dropped. Appreciate your feedback.
The text was updated successfully, but these errors were encountered: