This documentation is archived and is not being maintained.

IrDAListener.AcceptSocket Method

Creates a new socket for a connection.

Namespace:  System.Net.Sockets
Assembly:  System.Net.IrDA (in System.Net.IrDA.dll)

public Socket AcceptSocket()

Return Value

Type: System.Net.Sockets.Socket
A socket.

ExceptionCondition
InvalidOperationException

The socket is invalid. Call the Start method.

Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Compact Framework

Supported in: 3.5, 2.0, 1.0
Show: