12424 //////////////////////////////////////////////////////////////// |
12424 //////////////////////////////////////////////////////////////// |
12425 |
12425 |
12426 // === Send and receive some data and check data transferred advances === |
12426 // === Send and receive some data and check data transferred advances === |
12427 |
12427 |
12428 // Activate context with ESOCK server |
12428 // Activate context with ESOCK server |
12429 TBuf<140> host(_L("developer.symbian.org")); |
12429 TBuf<140> host(_L("developer.symbian.com")); |
12430 TBuf<140> page(_L("/wiki/images/1/12/Common_Design_Patterns_for_Symbian_OS_Sample_Chapter.pdf")); |
12430 TBuf<140> page(_L("/main/downloads/papers/IMS_Introduction_Part_1.pdf")); |
12431 CHTTPDownload *download = new (ELeave) CHTTPDownload(this); |
12431 CHTTPDownload *download = new (ELeave) CHTTPDownload(this); |
12432 CleanupStack::PushL(download); |
12432 CleanupStack::PushL(download); |
12433 ASSERT_TRUE(download->StartDownloadL(host,page),_L("Download Failed - perhaps page has moved!")); |
12433 ASSERT_TRUE(download->StartDownloadL(host,page),_L("Download Failed")); |
12434 |
12434 |
12435 // Check RPacketService::GetNifInfo with aCount = 0 returns valid name in iContextName |
12435 // Check RPacketService::GetNifInfo with aCount = 0 returns valid name in iContextName |
12436 TInt nifInfoCount = 0; |
12436 TInt nifInfoCount = 0; |
12437 TExtEtelRequestStatus nifInfoStatus(packetService, EPacketGetNifInfo); |
12437 TExtEtelRequestStatus nifInfoStatus(packetService, EPacketGetNifInfo); |
12438 CleanupStack::PushL(nifInfoStatus); |
12438 CleanupStack::PushL(nifInfoStatus); |