Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2005
Visual Studio
 Socket Programming

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
.NET Framework Developer's Guide
Socket Programming

The following items pertain to programming sockets in the .NET Compact Framework.

  • Not all socket options are supported on all device operating systems.

    The .NET Compact Framework is designed to be able to be ported to any number of operating systems, each with their own levels of functionality. Therefore, the .NET Compact Framework does not artificially limit the availability of socket options based on any particular level of support of an operating system.

  • Raw sockets are not supported.

  • There are known issues with sockets on Pocket PCs running Windows CE 3.0.

    If you close a socket with unsent data from a previous Send call, the data will be lost or corrupted.

    If you accept a socket and then close the bound socket before closing the accepted socket, you cannot bind to that port until the timeout, about 4.5 minutes, has elapsed.

  • In .NET Compact Framework applications, the following options are supported but do not work without TCP/IP stack modification and are currently reserved for future use: AcceptConnection, ReceiveLowWater, ReceiveTimeout, SendLowWater, SendTimeout, and Type.

See Also

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker