Socket Closes Prematurely When Call to WASRecv() Occurs in Windows CE (315398)



The information in this article applies to:

  • Microsoft Windows CE Platform Builder 4.0
  • Microsoft Windows CE .NET

This article was previously published under Q315398

SYMPTOMS

When a call to overlapped WSARecv with a buffer size that is greater than or equal to the MTU occurs, the connection may close prematurely. This is indicated by a return value of zero.

RESOLUTION

A supported fix is now available from Microsoft as Windows CE Core OS QFE . To resolve this problem immediately, search for the keyword "QFE" on the following Microsoft Web site: The English version of this package should have the following file attributes or later:
   Size       File name
   ---------------------------------------------
   911,704    020215_armv4i_wce40-q315398.exe    
   911,704    020215_armv4t_wce40-q315398.exe    
   911,704    020215_armv4_wce40-q315398.exe    
   928,088    020215_mips16_wce40-q315398.exe    
   944,472    020215_mipsii_fp_wce40-q315398.exe
   944,472    020215_mipsii_wce40-q315398.exe    
   964,952    020215_mipsiv_fp_wce40-q315398.exe    
   964,952    020215_mipsiv_wce40-q315398.exe    
   866,648    020215_sh3_wce40-q315398.exe    
   870,744    020215_sh4_wce40-q315398.exe    
   821,592    020215_x86_wce40-q315398.exe    
				
The English version of this fix should contain the following files, with the listed file attributes or later:
   Date         Time   Size         File name  Platform
   -------------------------------------------------------------
   22-Jan-2002  17:50  1,057,946    Tcp.lib    armv4\debug
   22-Jan-2002  17:50    135,168    Tcp.pdb    armv4\debug
   22-Jan-2002  17:49    790,544    Tcp.lib    armv4\retail
   22-Jan-2002  17:49    126,976    Tcp.pdb    armv4\retail
   22-Jan-2002  17:55  1,059,240    Tcp.lib    armv4i\debug
   22-Jan-2002  17:55    135,168    Tcp.pdb    armv4i\debug
   22-Jan-2002  17:54    791,950    Tcp.lib    armv4i\retail
   22-Jan-2002  17:54    126,976    Tcp.pdb    armv4i\retail
   22-Jan-2002  17:53    978,650    Tcp.lib    armv4t\debug
   22-Jan-2002  17:53    135,168    Tcp.pdb    armv4t\debug
   22-Jan-2002  17:51    786,840    Tcp.lib    armv4t\retail
   22-Jan-2002  17:51    126,976    Tcp.pdb    armv4t\retail
   22-Jan-2002  18:03  1,092,572    Tcp.lib    mips16\debug
   22-Jan-2002  18:03    135,168    Tcp.pdb    mips16\debug
   22-Jan-2002  18:02    737,304    Tcp.lib    mips16\retail
   22-Jan-2002  18:02    135,168    Tcp.pdb    mips16\retail
   22-Jan-2002  17:58  1,092,572    Tcp.lib    mipsii\debug
   22-Jan-2002  17:58    135,168    Tcp.pdb    mipsii\debug
   22-Jan-2002  17:57    793,088    Tcp.lib    mipsii\retail
   22-Jan-2002  17:57    135,168    Tcp.pdb    mipsii\retail
   22-Jan-2002  18:06  1,092,754    Tcp.lib    mipsII_fp\debug
   22-Jan-2002  18:06    135,168    Tcp.pdb    mipsII_fp\debug
   22-Jan-2002  18:04    793,190    Tcp.lib    mipsII_fp\retail
   22-Jan-2002  18:04    135,168    Tcp.pdb    mipsII_fp\retail
   22-Jan-2002  18:01  1,126,652    Tcp.lib    mipsiv\debug
   22-Jan-2002  18:01    135,168    Tcp.pdb    mipsiv\debug
   22-Jan-2002  17:59    825,070    Tcp.lib    mipsiv\retail
   22-Jan-2002  17:59    135,168    Tcp.pdb    mipsiv\retail
   22-Jan-2002  18:08  1,126,834    Tcp.lib    mipsiv_fp\debug
   22-Jan-2002  18:08    135,168    Tcp.pdb    mipsiv_fp\debug
   22-Jan-2002  18:07    825,180    Tcp.lib    mipsiv_fp\retail
   22-Jan-2002  18:07    135,168    Tcp.pdb    mipsiv_fp\retail
   22-Jan-2002  17:45    908,274    Tcp.lib    sh3\debug
   22-Jan-2002  17:45    135,168    Tcp.pdb    sh3\debug
   22-Jan-2002  17:43    718,668    Tcp.lib    sh3\retail
   22-Jan-2002  17:43    135,168    Tcp.pdb    sh3\retail
   22-Jan-2002  17:47    907,822    Tcp.lib    sh4\debug
   22-Jan-2002  17:47    135,168    Tcp.pdb    sh4\debug
   22-Jan-2002  17:46    715,976    Tcp.lib    sh4\retail
   22-Jan-2002  17:46    126,976    Tcp.pdb    sh4\retail
   22-Jan-2002  17:42    907,676    Tcp.lib    x86\debug
   22-Jan-2002  17:42    135,168    Tcp.pdb    x86\debug
   22-Jan-2002  17:41    681,178    Tcp.lib    x86\retail
   22-Jan-2002  17:41    126,976    Tcp.pdb    x86\retail
				

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Modification Type:MinorLast Reviewed:6/30/2005
Keywords:kbbug kbenv kbfix kbQFE KB315398