Returns more data on the NetEvent, for each NetEvent Type, the returned data type(s) is different
Call it like:
NetEvent.getEventData!(NetEvent.Type.SOMETYPE);
For NetEvent.Type.MessageEvent, the message received is returned as char[]
For NetEvent.Type.partMessageEvent, partMessageEvent is returned which contains received bytes, and size
For NetEvent.Type.ConnectionAccepted and ...ConnectionClosed, no data is returned, exception will be thrown instead.
Returns more data on the NetEvent, for each NetEvent Type, the returned data type(s) is different Call it like:
For NetEvent.Type.MessageEvent, the message received is returned as char[] For NetEvent.Type.partMessageEvent, partMessageEvent is returned which contains received bytes, and size For NetEvent.Type.ConnectionAccepted and ...ConnectionClosed, no data is returned, exception will be thrown instead.