🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #5018

TCustomWinSocket

#5018
From: Robert G. Hoover
Date: Fri, 28 Oct 2005 18:44
19 lines
1777 bytes
Hello All,

I've got a weird symptom that I really need some advice on...

I'm developing a live video socket-based application. I've got an 
impressive framerate with a 1 megapixel color image. But, I see a 2 
second lag in my video feed across a 100MPS LAN connection. I've traced 
this lag to "whatever happens after TCustomWinSocket::SendBuf()". I 
tried to call Application->ProcessMessages() to force windows to process 
the sending event immediately, but it had no effect. My assumption is 
that the SendBuf command posts the event message to Windows and Windows 
doesn't get around to actually sending bytes across the LAN cable for 2 
seconds. Is there a way to kick Windows in the pants to process my event 
immediately? Or is this a typical Windows overhead issue? I'm hoping for 
the former... :(

Thanks so much!

Rob
Technical Details
Message-ID: <43627188@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed.freenet.de!solnet.ch!solnet.ch!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,ddf88f1d3aecd366,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Fri, 28 Oct 2005 14:44:14 -0400
From: "Robert G. Hoover" <not.a.real.address@anywhere.sorry>
User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: TCustomWinSocket
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 67.142.36.34
Message-ID: <43627188@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1130525064 67.142.36.34 (28 Oct 2005 11:44:24 -0700)
Lines: 19
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed.freenet.de!solnet.ch!solnet.ch!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail