IrDAListener Class

Places a socket in a listening state to monitor infrared connections from a specified service or network address.

Definition

Namespace: InTheHand.Net.Sockets
Assembly: InTheHand.Net.IrDA (in InTheHand.Net.IrDA.dll) Version: 4.0.2+5cdf1cfd21064ea31c5de33d160200ca1c4bc218
C#
public class IrDAListener
Inheritance
Object    IrDAListener

Remarks

This class monitors a service by specifying a service name or a network address. The listener does not listen until you call one of the Start methods.

Constructors

IrDAListener(IrDAEndPoint) Initializes a new instance of the IrDAListener class.
IrDAListener(String) Initializes a new instance of the IrDAListener class.

Properties

Active Gets a value that indicates whether the IrDAListener is actively listening for client connections.
LocalEndpoint Gets an IrDAEndPoint representing the local device.
Server Gets the underlying network Socket.

Methods

AcceptIrDAClient Creates a client object for a connection when the specified service or endpoint is detected by the listener component.
AcceptIrDAClientAsync Accepts a pending connection request as an asynchronous operation.
AcceptSocket Creates a new socket for a connection.
AcceptSocketAsync Accepts a pending connection request as an asynchronous operation.
BeginAcceptIrDAClient Begins an asynchronous operation to accept an incoming connection attempt.
BeginAcceptSocket Begins an asynchronous operation to accept an incoming connection attempt.
EndAcceptIrDAClient Asynchronously accepts an incoming connection attempt and creates a new IrDAClient to handle remote host communication.
EndAcceptSocket Asynchronously accepts an incoming connection attempt and creates a new Socket to handle remote host communication.
Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
Pending Determines if a connection is pending.
Start Starts listening for incoming connection requests.
Start(Int32) Starts listening for incoming connection requests with a maximum number of pending connection.
Stop Stops the socket from monitoring connections.
ToString
(Inherited from Object)

See Also

Reference

IrDAListener