# Async TCP Client/Server

**URL:** <https://forum.elixirforum.com/t/async-tcp-client-server/25202>\
**Category:** Questions\
**Tags:** mdns, tcp\
**Created:** [September 6, 2019, 1:55am UTC](https://forum.elixirforum.com/t/async-tcp-client-server/25202 "2019-09-06T01:55:49Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![benwilson512](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/benwilson512/32/1457_2.png) [@benwilson512](https://forum.elixirforum.com/u/benwilson512)\
**Post date:** [September 6, 2019, 2:44am UTC](https://forum.elixirforum.com/t/async-tcp-client-server/25202/2 "2019-09-06T02:44:07Z")

</div>

> [@seanmor5](#):
>
> Is it as simple as using `spawn` or the Task API?

Yup. Processes are always async with respect to each other. If you’ve got an erlang node and you want multiple things to run at the same time, just spawn a process to do each thing. If that process will be short lived, use a Task. If it will be long lived, you probably want to spawn a GenServer, which is a regular process + some “best practice” conventions around life cycle management.

---

_[View the full topic](https://forum.elixirforum.com/t/async-tcp-client-server/25202)._
