# UDP receive and send with julia

**URL:** https://discourse.julialang.org/t/udp-receive-and-send-with-julia/62349
**Category:** New to Julia
**Created:** [June 3, 2021, 7:03pm UTC](https://discourse.julialang.org/t/udp-receive-and-send-with-julia/62349 "2021-06-03T19:03:53Z")
**Posts on this page:** 1
**Showing post:** 12

<div class="post-metadata">

### Author: ![pbayer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pbayer/32/11675_2.png) [@pbayer](https://discourse.julialang.org/u/pbayer)
#### Post date: [June 6, 2021, 9:13am UTC](https://discourse.julialang.org/t/udp-receive-and-send-with-julia/62349/12 "2021-06-06T09:13:14Z")

</div>

Please provide an MWE as described [here](https://discourse.julialang.org/t/psa-make-it-easier-to-help-you/14757) since I’m lost with your explanation too.

> [@Beh123](#):
>
> Is there similar method in julia for reading n bytes in julia?

`n` is given by the UDP package size received with `pck = recv(sock)`.

---

_[View the full topic](https://discourse.julialang.org/t/udp-receive-and-send-with-julia/62349)._
