2 way isn't working anymore (Error 10022 from socket listen?)...

2 way isn't working anymore (Error 10022 from socket listen?)... SearchSearch
Author Message
Al
Unregistered guest
Posted on Tuesday, October 11, 2005 - 02:32 pm:   

I have been trialing NowSMS successfully for the past couple of weeks now. I have my Ericsson T610 phone connected via USB and everything was working ok -- I setup the connection to the phone, was initialized successfully and I added a command to run a script whenever a message was received. I have made some changes to my system lately - I installed IIS, I installed a Firewall and I even installed a new Gigabit LAN. However I do not see how this would prevent NowSMS from processing incoming SMS messages on the T610. The service starts up successfully, however when I look in the Event Log I see the message "Error 10022 from socken listen" and I also get the error "Gateway not active" and then something about the web port already being in use, but since I do not use the web interface I don't think this really matters.

If I remove the command from the 2-way screen I should expect (as per the documentation and my previous tests) that all incoming SMS messages will be stored in the NowSMS folder - I don't even see them anywhere.

Does anyone have any idea what is going wrong?

Thanks!
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 5102
Registered: 10-2002
Posted on Tuesday, October 11, 2005 - 04:07 pm:   

Hi Al,

NowSMS does need its web interface to be active in order to be active and process messages.

It won't talk to the modems if the web interface is not active.

I suspect the reason for the change has something to do with the firewall that you installed, because error 10022 is a strange error. It means "invalid argument", suggesting a programming error. But I suspect the firewall is what is causing this error to be returned if an application tries to open a socket to listen for connections.

I'd suggest configuring the firewall to allow NowSMS (smsgws.exe) to listen for connections. Then, you can modify the IP address restrictions in NowSMS to only allow connections from 127.0.0.1 (localhost).

-bn