Gocator API > Go2.Output > Classes > Go2Ethernet > Functions > Go2Ethernet_SetProtocol
Gocator 2x00 API
Go2Ethernet_SetProtocol
Description

Sets the protocol that the ethernet follows.

C
Go2Status Go2Ethernet_SetProtocol(Go2Ethernet ethernet, Go2EthernetProtocol protocol);
Parameters
Parameters 
Description 
Go2Ethernet ethernet 
Go2Ethernet object. 
Go2EthernetProtocol protocol 
The ethernet protocol. 
Returns

Operation status.

File

Go2OutputChannels.h

Copyright (c) 2013 by LMI Technologies Inc. All rights reserved.