Here's an excellent post from Sabahattin Gucukoglu in response to Karen 
Folsom's question regarding what the WinSock error was, why it occurs, and 
steps a user can take to prevent receiving the error.

From: "Sabahattin Gucukoglu"<[EMAIL PROTECTED]> Sent: Fri, 30 Jul 2004 21:25:04 
+0100 To: Braillenote List<[email protected]> Subject: Re: 
[Braillenote] Winsock error

----- BEGIN PGP SIGNED MESSAGE ----- Hash: SHA1

Hi Karen,

On 30 Jul 2004 at 11:51, Karen Folsom spoke, thus:

What in the world is a winsock error?? If I try to download over 20 email 
messages, I get a winsock error.  Is this a windows CE thing or a keymail 
greater-than thing? It makes me what to "winsock" the BN sometimes.  Grin

<Grindd> This is a Windows CE thing.  Winsock, or Windows Sockets, is the 
component responsible for socket-based communications, primarily network 
sockets.  Network sockets can be thought of as virtual sockets that sit at 
either end of a communication channel, a virtual wire.  When you want to talk 
to a computer on the internet, you open a socket and establish a connection.  
When the remote system agrees to talk to you, you will get a code indicating 
that, and your program can just send and receive stuff over that socket, in 
this case electronic mail transaction commands over a TCP session for reliable 
communication using POP3.

Now, you and your friend the POP3 server are chatting away, but at some step 
along the dialog in which you take it in turns to talk to each other in a 
polite fashion, you are kept busy by something not related to the network; 
perhaps you are filing away the mail you have just received, and the disk 
activity is holding you up.  Your friend is regretably rather busy and has many 
more people hungry for attention, so he has decided that if you should not say 
something for a certain amount of time, called a timeout, he will regretably 
have to just shut his socket on you.  You are very busy for some time, and 
exactly this happens; he disconnects his socket from the transaction.  When you 
come back from business and next say, "Ok, give me message number 31, please", 
your return value from the Winsock library is not a success code but an error 
to the effect that the transaction did not occur.  This error has a constant 
number, and it is this number that you are reading in your Winsock error 
messages.

The solution is twofold:

1.  This is usually not under your control, but arrange for the BrailleNote to 
hurry up its operations.  You could start by compacting your database, flushing 
away messages you don't need, and the like.

2.  Increase the timeout before disconnection at the POP3 server.  If you
>every in control of the POP3 service (and I'm guessing you are not), give this 
poor BrailleNote time to stutter out of its business and resume the dialog with 
the POP3 service by preventing the server from shutting the connection on the 
BrailleNote.  Try asking your ISP what the timeout is, and/or whether or not it 
may be increased.  This change usually has a noticeable effect on server 
performance, so ask nicely.

Was that response helpful? I hope so!

Cheers,
Sabahattin
-- -- Thought for the day:

Book (not): a utensil used to pass time while waiting for the TV repairman.


Sabahattin Gucukoglu
Phone: +44 20 7,502-1615
Mobile: +44 7986 053399
http:www.sabahattin-gucukoglu.com/
Email/MSN:<[EMAIL PROTECTED]


----com Begin PGP SIGNATURE ----- Version: PGP 8.0 -- QDPGP 2.70

iQA/AwUBQQquoiNEOmEWtR2TEQIeCgCgqfd7CEGb1epFjNPd3LLGfsmhSkAAn3st 
OrWCvz22PeutuEDMdJnpBN9v =OgT2

----- END PGP SIGNATURE -----



----- Original Message -----
>From: richard Van Driel <[EMAIL PROTECTED]
>To: Bn list <[email protected]>,Jonathan Mosen <[EMAIL 
>PROTECTED]>, Dean Jackson <[EMAIL PROTECTED]
>Date: Sat, 07 Aug 2004 09:45:17 +1200
>Subject: [Braillenote] winsock 10050 and "the file exists when emptying trash

>Hi all,
>I am sending this to Jonathan and Dean as well, so I should be well covered.
>First, sometimes when downloading email, all goes fine for a while, the bn is 
>clipping along with "receiving 1, 2, etc" then suddenly, out of the blue comes 
>the message "Winsock error 10050 with the option to retry.
>When I hit enter to retry, I get a beep and the winsock error again.
>This does not happen every time, just once in a while.
>Then, after I reset the bn, all is well and all the emails download properly.
>Then, when I go to free my database space after emptying the trash, it goes 
>fine for a while.
>I may be able to download email and free database space for a couple of day, 
>then when I do it again on another day, the bn starts to free space and then 
>gives the error beep and says "The file exists." and throws me back into the 
>setup menu.
>I notice that when I free space, the machine says "Freeing database space, 
>please wait" twice.
>When I get the "file exists" message, it says it with no pauses between as in 
>"freeing database space please wait freeing database space please wait".  and 
>after a little while gives me that "file exists" message.
>One more thing, Why, when downloading email, (I use a regular dialup not 
>speedband or dsl) anyway, why are the first one or two emails always 
>downloaded slower than the others?
>Is this something with all the bns or some and what can be done?
>I am using ks 5.1.

>Thanks for the help,
>Richard


>___
>To leave the BrailleNote list, send a blank message to
>[EMAIL PROTECTED]
>To view the list archives or change your preferences, visit
>http://list.pulsedata.com/mailman/listinfo/braillenote

?


Reply via email to