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

problem with comms on emulator

1 replies · 1,513 views · Started 07 November 2003

Hi,
I have a problem when I try to establish an Htttp connection over the EPOC emulator.
I am working with Symbian 7.0s Series 60 2.0. My Computer is on a LAN, and it has access to Internet via proxy,
but really I only want to access to machines on my LAN.
In fact I have tried to run several comms examples included in SDK documentation (sockets an http examples )and all of them have failed
(usually they fail with an -21 error code (KErrAccessDenied) , -1 or simply they fail ), so I think that
is a problem with the comms in the emulation.
Am I rigth? In that case, how can I solve this problem?

I am working with windows 2000, and I work with Visual Studio 6.
Note : I cannot run setupcomms.bat because it search for T_EDITDB.exe that it is
missing in series 60 v2.0.

Thanks

Before trying to test your application, make sure that you can get the emulator on the network by using the build in browser to access a web site. Then you at least know that the problem is with your code and not the emulator.

Access denied usually means that something has control of the port and it not allowing you access to it. Make sure that the port is available on your system and not used by something else (like a mouse or PCSuite for example). If the port is free, turn the remote link off.

The problem of getting the emulator on the network has been discussed many times in different forums. I suggest you learn how to use search functionality of this and other such forums.