---
title: "Discussion on \"How to make TCP server in Odin lang\" | Hashnode"
description: "Discussion on \"How to make TCP server in Odin lang\". Basic tcp server\npackage main\n\nimport \"core:fmt\"\nimport \"core:net\"\nimport \"core:strings\"\nimport \"core:bytes\"\n\nmain :: proc (){\n    // setting up socket for our server\n    listen_socket, listen_err := net.listen_tcp(net.Endpoint{\n        port = 8000,\n..."
url: "https://hashnode.com/posts/how-to-make-tcp-server-in-odin-lang/665efbaec4aee7c0211bf4a8"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to make TCP server in Odin lang](https://yashdhadve.hashnode.dev/how-to-make-tcp-server-in-odin-lang?utm_source=hashnode&utm_medium=feed)

Basic tcp server package main import "core:fmt" import "core:net" import "core:strings" import "core:bytes" main :: proc (){ // setting up socket for our server listen\_socket, listen\_err := net.listen\_tcp(net.Endpoint{ port = 8000, ...

Jun 4, 2024 · 2 min read · yashdhadve.hashnode.dev  
Read the article

-   [#odinlang](https://hashnode.com/tag/odinlang)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#tcp](https://hashnode.com/tag/tcp)
-   [#multithreading](https://hashnode.com/tag/multithreading)
-   [#low-level-programming](https://hashnode.com/tag/low-level-programming)

## Written by

[Dhadve Yash](https://hashnode.com/@exar04)

@exar04

  
[View profile](https://hashnode.com/@exar04)

Give me a job man

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
