Places a socket in a listening state to monitor infrared connections from a specified service or network address.
| C# | Visual Basic |
public class IrDAListener
Public Class IrDAListener
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| IrDAListener(IrDAEndPoint) |
Initializes a new instance of the IrDAListener class.
| |
| IrDAListener(String) |
Initializes a new instance of the IrDAListener class.
| |
| AcceptIrDAClient()()() |
Creates a client object for a connection when the specified service or endpoint is detected by the listener component.
| |
| AcceptSocket()()() |
Creates a new socket for a connection.
| |
| Active |
Gets a value that indicates whether the IrDAListener is actively listening for client connections.
| |
| BeginAcceptIrDAClient(AsyncCallback, Object) |
Begins an asynchronous operation to accept an incoming connection attempt.
| |
| BeginAcceptSocket(AsyncCallback, Object) |
Begins an asynchronous operation to accept an incoming connection attempt.
| |
| EndAcceptIrDAClient(IAsyncResult) |
Asynchronously accepts an incoming connection attempt and creates a new IrDAClient to handle remote host communication.
| |
| EndAcceptSocket(IAsyncResult) |
Asynchronously accepts an incoming connection attempt and creates a new Socket to handle remote host communication.
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode()()() | Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetType()()() | Gets the Type of the current instance. (Inherited from Object.) | |
| LocalEndpoint |
Gets an IrDAEndPoint representing the local device.
| |
| MemberwiseClone()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Pending()()() |
Determines if a connection is pending.
| |
| Server |
Gets the underlying network Socket.
| |
| 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.) |
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.
| Object | |
| IrDAListener | |
IrDAListener