Argh!
Porting is not an excuse for sloppy coding! You should not use blocking APIs. Period. Ironically you yourself point out that you're thread blocks on SendTo...
I'm surprised that you are...
Type: Posts; User: maxxxpayne; Keyword(s):
Argh!
Porting is not an excuse for sloppy coding! You should not use blocking APIs. Period. Ironically you yourself point out that you're thread blocks on SendTo...
I'm surprised that you are...
I hope you are kidding. Have you considered the power requirement for switching the profiles, not to mention possible violation of emergency calling requirements. And what happens if the coder gets...
aamitgupta,
Please read abiout descriptors first. http://descriptors.blogspot.com/ is an excellent resource to begin with.
In your case, you are allocating a HBuf and then using a TPtr (ever...
Are you calling RHTTPTransaction::Close() after you've closed the HTTP transaction? Because that would close the transaction too and closing the transaction twice can be fatal. Also makes sure that...
Ahh... you are getting KERN-EXEC 3 possibly because you have run out of stack space!
See http://www.newlc.com/forum/your-experiences-kern-exec-3
Try doing something like this:
RBuf fileName;...
Checkout the CActive and Friends on SDN.
Double check FAQ-1253 to see if you've used EPOCHEAPSIZE properly.
daveice,
There two scenarios to consider for using the IAP being used by the browser.
First of all, the browser UI lets the user to specify an IAP OR prompt for an IAP every time the users...
Amit,
Where did you get the code from? Its largely redundat and in some places even wrong.
First of all, getting the first IAP in the connection preferences table isn't going to help at all....
The answer is nothing!
The HTTP framework automatically handles https:// URIs :-)
HTTP is an application layer protocol built on top of TCP, which is a reliable data transport mechanism.
Whether you use HTTP over TCP and vice versa depends on your requirements.
One thing to...
You'll find it in es_enum.h.
As a side note, did it not occur to you to search *.h files epoc32/include folder for TConnectionInfoV2? How difficult is that?
You can use sockets, without using active objects, but that's not recommended at all for real world applications, the only exception could be for test code...
Anyway, here's how you'd use it...
To enumerate connections, you'll need to use the RConnection API.
Here's a simple example.
Note: error checking is disabled and async methods called synchronously!
RSocketServ ss;...
How difficult is it to use search? Or even Google?
http://www.newlc.com/topic-7533
http://discussion.forum.nokia.com/forum/showthread.php?t=124702...
can you please clarify what you mean by other connection operations?
What you need to to is get the IAP type and list only the ones that match it. Have a look at CApUtils et. al. Once you've got a list of matching wap access points, display it and when the user...
You can't have the same IP all the time, unless you are connected to a network that staically allocates IP address for your device... highly unlikely, specially when you have mentioned you are using...
Witchsnk,
You've mentioned that you can't change the server side code... hence you are stuck with UDP.
There's plenty of reasons why the packets maybe dropped. One factor often missed is the...
Check this forum posting:
http://forum.newlc.com/index.php/topic,17378.0/topicseen.html
Shocking to see that someone "after over a year of using Symbian" can't grasp the idea and principles of...
Plenty! Some of which stems from Symbian, some some from S60.
Documentation: I've spent a lot of times in various forums (sorry, a bit biased towards NewLC) just answering plain and simple...
mohsin,
Read my post carefully, I did say that the debug view has the call stack for the running thread.
Of course it does! Take a look at:...
To access RConnection and RSocket APIs, you'll need the NetworkControl and NetworkServices capability. Have you specified those in your MMP file in the CAPABILITY section?
-5120 is KErrDndNameNotFound, which basically means the host lookup failed. Might I suggest that you simply write a test app and see whether you can connect to the host normally?
Actually that's where you'll find the callstack, its called the Debug window. Yes its confusing, because it shows all the threads in the system too and one of them is the one currently executing...