|
FireSync API
|
| kStatus kPacketSocket_ConstructFromIp | ( | kPacketSocket * | sockt, |
| kIpAddress | ipAddress, | ||
| k16u * | protocols, | ||
| kSize | protocolCount, | ||
| kAlloc | allocator | ||
| ) |
Constructs a kPacketSocket object from an IP address (non-promiscuous mode).
| sockt | Destination for the constructed object handle. |
| ipAddress | Ip address of the adapter. |
| protocols | Protocols, e.g. 0x8892 for Profibus or 0x0800 for IP. |
| protocolCount | Number of protocols |
| allocator | Memory allocator (or kNULL for default). |