B4J Programming Press on the image to return to the main documentation page.

rWiFi101

List of types:

WiFi101
WiFiSocket

WiFi101


Events:

None

Members:


  Connect (SSID As String) As Boolean

  ConnectWPA (SSID As String, Key As String) As Boolean

  ENC_ENC_TYPE_NONE As Byte

  ENC_TYPE_AUTO As Byte

  ENC_TYPE_CCMP As Byte

  ENC_TYPE_WEP As Byte

  ENC_TYPE_WPA As Byte

  EncryptionType (Position As Byte) As Byte

  LocalIp As String [read only]

  RSSI (Position As Byte) As Long

  ScanNetworks As Int

  SSID (Position As Byte) As String

Members description:

Connect (SSID As String) As Boolean
ConnectWPA (SSID As String, Key As String) As Boolean
ENC_ENC_TYPE_NONE As Byte
ENC_TYPE_AUTO As Byte
ENC_TYPE_CCMP As Byte
ENC_TYPE_WEP As Byte
ENC_TYPE_WPA As Byte
EncryptionType (Position As Byte) As Byte
LocalIp As String [read only]
Returns the local ip address as a string.
RSSI (Position As Byte) As Long
ScanNetworks As Int
SSID (Position As Byte) As String

WiFiSocket

A client socket implementation.

Events:

None

Members:


  Close As void

  Connected As Boolean [read only]

  ConnectHost (Host As String, Port As UInt, SSL As Boolean) As Boolean

  ConnectIP (IP() As Byte, Port As UInt, SSL As Boolean) As Boolean

  Stream As B4RStream [read only]

Members description:

Close As void
Closes the connection.
Connected As Boolean [read only]
Tests whether the client is connected.
ConnectHost (Host As String, Port As UInt, SSL As Boolean) As Boolean
Tries to connect to the server. Returns true if connection was successful.
Host - Host name.
Port - Server port.
SSL - True to make a SSL connection.
ConnectIP (IP() As Byte, Port As UInt, SSL As Boolean) As Boolean
Tries to connect to the server. Returns true if connection was successful.
IP - Server ip address as an array of bytes.
Port - Server port.
SSL - True to make a SSL connection.
Stream As B4RStream [read only]
Gets the network stream. Can be used together with AsyncStreams.
Top