Read-only archive of the All About Symbian forum (2001–2013) · About this archive

Connecting to a Server through the emulator

7 replies · 3,649 views · Started 14 July 2004

Hi, i'm running the Series 60 sdk v.2 on Codewarrior and i'm having trouble using the Sockets program through the emulator. Everytime i try to connect to a basic time server (129.6.15.28 13 port 13) it gives me a timeout error -33. I have used command prompt to access the ip address and port with success, yet when i try the Sockets program it times out. Are there settings i have overlooked that need to be set in order for the emulator to connect to the server? Any help would be appreciated. Thanks in advance

skratchnsnift wrote:Hi, i'm running the Series 60 sdk v.2 on Codewarrior and i'm having trouble using the Sockets program through the emulator. Everytime i try to connect to a basic time server (129.6.15.28 13 port 13) it gives me a timeout error -33. I have used command prompt to access the ip address and port with success, yet when i try the Sockets program it times out. Are there settings i have overlooked that need to be set in order for the emulator to connect to the server? Any help would be appreciated. Thanks in advance

To use the Internet programs on the Emulator, you need:
1)a PC with a modem
2)an ISP account
3)SMTP/POP3 e-mail accounts

The Emulator�s networking facilities are not designed to work with PC-based LAN networking. Your PC must have a modem and use dial-up networking.

ramis55 wrote:To use the Internet programs on the Emulator, you need:
1)a PC with a modem
2)an ISP account
3)SMTP/POP3 e-mail accounts

The Emulator�s networking facilities are not designed to work with PC-based LAN networking. Your PC must have a modem and use dial-up networking.

i was looking over the release notes for the 2.1 SDK and it seems that there is now support for ethernet in this new release. However, the release notes do specify that the ethernet capability is used for the "mail" and "services" functions on the emulator. So is there anyway to use my existing LAN setup to test the SOCKETS program that is bundled with the 2.1 sdk? Thanks!

http://www.forum.nokia.com/main/0,6566,040,00.html?fsrParam=1-3-/main/0,,034-4,00.html&fileID=5152

*update*

I was able to connect to the internet through the emulator with my LAN settings and also able to use the socket program and connected to the NIST time stamp server. I basically followed the Help files provided with the 2.1 sdk and configured my ced.cfg accordingly with a dummy ip address.

To Sk:

kindly let me know if possible about ur discovery as i m also struggling on it.

Thanks in advance.
regards'

shibeng wrote:To Sk:

kindly let me know if possible about ur discovery as i m also struggling on it.

Thanks in advance.
regards'

yeah, i was able to connect to nist time server using sockets. You have to configure your CED file in the UDEB folder to the correct settings. Then, run CED.exe to make sure the emulator is reading from the correct file.

Hope that helps

skratchnsnift wrote:yeah, i was able to connect to nist time server using sockets. You have to configure your CED file in the UDEB folder to the correct settings. Then, run CED.exe to make sure the emulator is reading from the correct file.

Hope that helps

Could you please guide me more clearly. What should I edit ced file?
Please answer me here or you can contact me via [email][email protected][/email]

Thanks