You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Eugene Kabanov edited this page May 30, 2018
·
2 revisions
procsendTo*(transp: DatagramTransport, pbytes: pointer, nbytes: int,
remote: TransportAddress) {.async.} =## Send buffer with pointer ``pbytes`` and size ``nbytes`` using transport## ``transp`` to remote destination address ``remote``.
procsend*(transp: DatagramTransport, pbytes: pointer,
nbytes: int) {.async.} =## Send buffer with pointer ``pbytes`` and size ``nbytes`` using transport## ``transp`` to remote destination address which was bounded on transport.
procjoin*(transp: DatagramTransport) {.async.} =## Wait until the transport ``transp`` will be closed.
procclose*(transp: DatagramTransport) =## Closes and frees resources of transport ``transp``.