Hi all, my problem has been solved, therefore I am posting it here for help 
of others.
I was getting no response from device error because I was using the wrong 
port in my code. The device was not on that port.
The other error I faced was "socket write error". This error comes when two 
threads are trying to use the same port simultaneously. This error was 
occurring because I was 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/c52b5200-7dcf-4a98-bef6-b3668787413b%40googlegroups.com.

Reply via email to