FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kPacketSocket_ConstructFromIpEx ( kPacketSocket sockt,
kIpAddress  ipAddress,
k16u protocols,
kSize  protocolCount,
kBool  promiscuousMode,
kAlloc  allocator 
)

Constructs a kPacketSocket object from an Ip address with additional options.

Parameters
socktDestination for the constructed object handle.
ipAddressIp address of the adapter.
protocolsProtocols, e.g. 0x8892 for Profibus or 0x0800 for IP.
protocolCountNumber of protocols
promiscuousModeIf kTRUE device is put in promiscuous mode.
allocatorMemory allocator (or kNULL for default).
Returns
Operation status.