Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Novlib 3.30 Online Reference - <b> ipxaddressget()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 IPXAddressGet()
------------------------------------------------------------------------------
 Purpose:
 Get the network address of the station that sent the most recently
 received IPX packet.

 Syntax:
 lpszAddress = IPXAddressGet()

 Parameters:
 None.

 Returns:
 A character string of length 24.

 The CA-Clipper name for this function is:
 IPXAdrGet()

 Description:
 IPXAddressGet() returns the full network address of the station that sent
 the most recently received IPX packet. The network address is the physical
 address of the workstation.

 The network address is a 24 character string. The first 8 bytes represent
 the address of the network segment, the next 12 bytes the physical address
 of the workstation, and the last 4 bytes the socket number. For example,
 the address "0000000208001BC657735555" is made up of the network segment
 "00000002", the workstation's address "08001BC65773" and the socket number
 "5555". All these figures are in hexadecimal.

 Example:
 // To determine the network address of the station that sent a packet :
 PacketLen = 0
 lpszPacket = IPXPacketGet(@PacketLen)
 if (PacketLen > 0)
    ? "Just received a packet from station ", IPXAddressGet()
  endif

See Also: IPXInstalled() IPXPacketGet() IPXPacketSend()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson