Added error note for RX

This commit is contained in:
Joseph Henry
2016-06-17 16:15:19 -07:00
parent 2ad5f963b9
commit 50dedfdbab

View File

@@ -299,6 +299,13 @@ public class ZeroTierNetworkInterface {
*/ */
public NetworkEventType Receive(out int hostId, out int connectionId, out int channelId, byte[] buffer, int bufferSize, out int receivedSize, out byte error) public NetworkEventType Receive(out int hostId, out int connectionId, out int channelId, byte[] buffer, int bufferSize, out int receivedSize, out byte error)
{ {
/*
* If recBuffer is big enough to contain data, data will be copied in the buffer.
* If not, error will contain MessageToLong error and you will need reallocate
* buffer and call this function again. */
for (int i = 0; i < connections.Count; i++) { for (int i = 0; i < connections.Count; i++) {
} }