comp.os.mswindows.programmer.tools.winsock
  Home FAQ Contact Sign in
comp.os.mswindows.programmer.tools.winsock only
 
Advanced search
March 2007
motuwethfrsasuw
   1234 9
567891011 10
12131415161718 11
19202122232425 12
262728293031  13
2007
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007    
total
comp.os ... tools.winsock Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  for beniamino: truly alluring newsgroup access - agfo - (1/1)         


Author: ozzie
Date: Mar 31, 2007 16:18

I want to share this with everyone..

Take a look at all the great features below and imagine! You'll LOVE it.
Great prices and support await you as you travel into the beautiful world of premium nntp access.
One thing I love about them, they don't keep log files of the news I read or files I download.
They offer some of the best premium newsgroup access anywhere.
With some of the fastest connections around it's no wonder people love it and keep coming back.
Take a look, I know you'll love it as much as I do.
You can find almost anything you are looking for.
They give you access to some of the best groups others may not carry.

Keyword searchable
2,000,000 new posts each day
Convenient thumbnail indexes
Blazing fast downloads
800 GIGS of new multimedia content each day

So the address is http://newsdude.net and I hope everyone checks it out.

Enru owfa ...
no comments
  Re: textbox - textwidth         


Author: mick
Date: Mar 25, 2007 05:32

"Peter Duniho" nnowslpianmk.com> wrote in message
news:op.tpnbyd0g8jd0ej@petes-computer.local...
> On Fri, 23 Mar 2007 06:03:27 -0700, mick b.com> wrote:
>
>> Hi is there a neat way of testing the textwidth in a listbox?
>> GetTextExtentPoint() returns for dc selected font
>
> No, Winsock has no functionality that would provide for this.

oops wrong group - sorry
no comments
  textbox - textwidth         


Author: mick
Date: Mar 23, 2007 06:03

Hi is there a neat way of testing the textwidth in a listbox?
GetTextExtentPoint() returns for dc selected font, surely there's a better
method than:

query the listbox font metrics
selecting it into the dc
calling GetTextExtentPoint32

?
1 Comment
  Re: Newbie question         


Author: Peter Duniho
Date: Mar 11, 2007 20:19

On Mon, 12 Mar 2007 02:36:58 +0800, rn nowaynospam.com> wrote:
> [...]My question:
>
> Since this is a synchronous connection, I understand it could possibly
> block my application if the connection is delayed for some reason.
>
> Will this ever happen?

Will it? Impossible to say. Could it? Yes, you are right...it is
certainly a possibility. You could have delays during both the call to
connect to the server as well as the call to receive the data.

Also, make sure you don't fall into the classic novice trap of assuming
that the recv() function will return all of the data sent in a single
call. You cannot guarantee that. If you expect (for example) five bytes,
you need to check the byte count returned from recv() and continue calling
recv() until the total bytes received is actually five (in a loop, of
course).
> If so, when?

Any time the server, intermediate computers, or local computer is delayed
for any reason.
Show full article (5.38Kb)
1 Comment
  Newbie question         


Author: rn
Date: Mar 11, 2007 11:36

Hello,

I have a very simple need:

I want the users of my Windows application to be able to check if there is a
newer version of my application
available on my server.

I've managed to get that working as a synchronous connection

using
connect()

send()

recv()

closesocket()

etc

Everything works fine and my app can read the needed file on my server which
is 5(!) bytes (just to check the version number)

My question:

Since this is a synchronous connection, I understand it could possibly block
my application if the connection is delayed for some reason.

Will this ever happen?

If so, when?
Show full article (0.84Kb)
no comments
  Funny Videos         


Author: Andrew Showers
Date: Mar 3, 2007 21:57

no comments