|
FireSync API
|
| 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.
| 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 |
| promiscuousMode | If kTRUE device is put in promiscuous mode. |
| allocator | Memory allocator (or kNULL for default). |