Delegate PortReceivedDataCallback
public delegate void PortReceivedDataCallback(byte[] data, IPEndPoint receivedFrom, object state)
Parameters
data
byte[]receivedFrom
IPEndPointstate
object
Constructors
PortReceivedDataCallback(object, IntPtr)
public PortReceivedDataCallback(object @object, IntPtr method)
Parameters
Methods
BeginInvoke(byte[], IPEndPoint, object, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(byte[] data, IPEndPoint receivedFrom, object state, AsyncCallback callback, object @object)
Parameters
data
byte[]receivedFrom
IPEndPointstate
objectcallback
AsyncCallbackobject
object
Returns
EndInvoke(IAsyncResult)
public virtual void EndInvoke(IAsyncResult result)
Parameters
result
IAsyncResult
Invoke(byte[], IPEndPoint, object)
public virtual void Invoke(byte[] data, IPEndPoint receivedFrom, object state)
Parameters
data
byte[]receivedFrom
IPEndPointstate
object