This error comes when two threads are trying to use the same port simultaneously.In my case, this error was occurring because when I connected the modem with my computer I opened the modem's application too. That is why the socket error was occurring. Both modem's application and my SMS lib application were trying to use the same port at the same time. Therefore, if you get the same error then ensure that you have closed the modem's UI application.
-- You received this message because you are subscribed to the Google Groups "SMSLib Discussion Group" group. To view this discussion on the web visit https://groups.google.com/d/msgid/smslib/7e7cc063-208f-4134-accc-af48c97af506%40googlegroups.com.
