Samraksh eMote .NOW
Send Method (MACBase)
Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: Visual Basic Language Filter: Visual Basic (Declaration) Language Filter: Visual Basic (Usage) Language Filter: C# Language Filter: C++/CLI
Visual Basic (Declaration)
Visual Basic (Usage)
C#
C++/CLI

Samraksh.eMote.Net Namespace > MACBase Class : Send Method

The address of the receiver. Use `Addresses.BROADCAST` for broadcast
Byte array containing the message to be sent
The first byte in the array to send. Normally 0
The number of bytes to send
Send a message
Syntax

- Visual Basic
- C#
- C++/CLI

    'Declaration

    Public Function Send( _
       ByVal address As UShort, _
       ByVal message() As Byte, _
       ByVal offset As UShort, _
       ByVal size As UShort _
    ) As NetOpStatus

    'Usage

    Dim instance As MACBase
    Dim address As UShort
    Dim message() As Byte
    Dim offset As UShort
    Dim size As UShort
    Dim value As NetOpStatus

    value = instance.Send(address, message, offset, size)

    public NetOpStatus Send(
       ushort address,
       byte[] message,
       ushort offset,
       ushort size
    )

    public:
    NetOpStatus Send(
       ushort address,
       array<byte>^ message,
       ushort offset,
       ushort size
    )

#### Parameters

address
  The address of the receiver. Use `Addresses.BROADCAST` for broadcast
message
  Byte array containing the message to be sent
offset
  The first byte in the array to send. Normally 0
size
  The number of bytes to send

#### Return Value

Status of operation
Requirements

Target Platforms: eMote .NOW

See Also

#### Reference

MACBase Class
MACBase Members

Send Feedback