🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #1445

slow wininet connection

#1445
From: Manu
Date: Tue, 07 Dec 2004 13:31
24 lines
1618 bytes
Hi,

I have a problem with a slowly connection to internet with wininet function when
my application play cd audio with windows media player ocx (wmp.dll).

I try to call internet function into a thread and same result....

Application (main Process)
     ---> play track of audio cd with control TWindowsMediaPlayer (windows media player ocx into wmp.dll)
     ---> create internet_connection thread

Internet_Connection thread
    Get data from internet
     ---> InternetGetConnectedState(...)
     ---> InternetOpen(...)
     ---> InternetConnect(...)
     ---> HttpOpenRequest(...)
     ---> HttpAddRequestHeaders(...)
     ---> HttpQueryInfo(...)

When i stop cd player, connection is made into 2 seconds else 30 seconds !!!

Can you help me?
Technical Details
Message-ID: <41b5b09f$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewsoutpeer00.lnd.ops.eu.uu.net!lnewsinpeer01.lnd.ops.eu.uu.net!emea.uu.net!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,135a0837c912b327,start
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Manu" <everlynde@yahoo.fr>
Sender: "Manu" <everlynde@yahoo.fr>
Reply-To: "Manu" <everlynde@yahoo.fr>
Subject: slow wininet connection
Newsgroups: borland.public.cppbuilder.internet.web
X-User-Info: 82.127.223.26     
NNTP-Posting-Host: 207.105.83.66
Message-ID: <41b5b09f$1@newsgroups.borland.com>
Date: 7 Dec 2004 05:31:11 -0800
X-Trace: newsgroups.borland.com 1102426271 207.105.83.66 (7 Dec 2004 05:31:11 -0800)
Lines: 24
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewsoutpeer00.lnd.ops.eu.uu.net!lnewsinpeer01.lnd.ops.eu.uu.net!emea.uu.net!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail