Method SendPackage
| Improve this Doc View SourceSendPackage(long, ZPackage)
Send a package to a single target. Compresses and fragments the package if necessary.
Declaration
public void SendPackage(long target, ZPackage package)
Parameters
Type | Name | Description |
---|---|---|
long | target | |
ZPackage | package |
SendPackage(List<ZNetPeer>, ZPackage)
Send a package to a list of peers. Compresses and fragments the package if necessary.
Declaration
public void SendPackage(List<ZNetPeer> peers, ZPackage package)
Parameters
Type | Name | Description |
---|---|---|
List<ZNetPeer> | peers | |
ZPackage | package |