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

Constructs a kPacketSocket object from an IP address (non-promiscuous mode).

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
allocatorMemory allocator (or kNULL for default).
Returns
Operation status.