Brightsign Object Reference Manual (FW 5.1) Instrukcja Użytkownika Strona 245

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 341
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 244
237
roTCPServer
Interfaces: ifTCPServerInstance, ifUserData
The ifTCPServerInstance interface provides the following:
GetFailureReason() As String: Yields additional useful information if an roTCPServer method fails.
SetPort(port As Object): Sets the message port that will receive events from an roTCPServer instance.
BindToPort(port As Dynamic) As Boolean: Prepares to accept incoming TCP connections on the
specified port. Passing an integer to this method will specify a standard port number. This method can also accept
an index of integer interfaces contained within an associative array, which can contain the following members:
o -1: Any (this is the default value)
o 0: Ethernet
o 1: WiFi
o 2: Modem
o 32767: Loopback (i.e. TCP connections can only be established by internal sources)
The ifUserData interface provides the following:
SetUserData(a As Object): Supplies an object that will be provided by every event called by an roTCPServer
instance.
GetUserData() As Object
Przeglądanie stron 244
1 2 ... 240 241 242 243 244 245 246 247 248 249 250 ... 340 341

Komentarze do niniejszej Instrukcji

Brak uwag