It creates an Ethernet object and returns the reference
ENet(<protocol>)
Parameter
Description
Remarks
protocol
"tcp" : TCP communication
"udp" : UDP communication
If omitted, it will be recognized as "udp."
Reference of the created object
enet0 = ENet() var tcp = ENet("tcp")
Last updated 4 years ago
Was this helpful?