1.7 NetAddress Object

Represents the network address of a node on the network.

1.7.1 Net property

Represents the network number of a node on the network.

Syntax

 object.Net
 

Type

String.

Attributes

Read-only.

Example

This example shows the Net property in its typical context.

 ’Display the address of all file server objects in the Bindery. 
      set bindery = CreateObject ("ucx:Bindery") 
      set entries = bindery.Seaerch ("*.*",NET_FILE_SERVER) 
      For each Entry in Entries 
           Print("Network Number: " &entry.address.net & "Node Address: " &entry.address.node & "Socket Number: "&entry.address.socket) 
      next
 

1.7.2 Node property

Represents the node address.

Syntax

 object.Node
 

Type

String.

Attributes

Read-only.

Example

This example shows the Node property in its typical context.

 ’Display the address of all file server objects in the Bindery. 
      set bindery = CreateObject ("ucx:Bindery") 
      set entries = bindery.Seaerch ("*.*",NET_FILE_SERVER) 
      For each Entry in Entries 
           Print("Network Number: " &entry.address.net & "Node Address: " &entry.address.node & "Socket Number: "&entry.address.socket) 
      next
 

1.7.3 Socket property

Represents the socket number.

Syntax

 object.Socket
 

Type

String.

Attributes

Read-only.

Example

This example shows the Socket property in its typical context.

 ’Display the address of all file server objects in the Bindery. 
      set bindery = CreateObject ("ucx:Bindery") 
      set entries = bindery.Seaerch ("*.*",NET_FILE_SERVER) 
      For each Entry in Entries 
           Print("Network Number: " &entry.address.net & "Node Address: " &entry.address.node & "Socket Number: "&entry.address.socket) 
      next