---
title: "How to open and bind an UDP broadcast socket"
url: "https://maker.wiznet.io/forum/14989"
markdown_url: "https://maker.wiznet.io/forum/14989/md"
type: "Forum topic"
category: "Ethernet Chips"
author: "Vien Huy Nguyen"
created: "2023-07-28T14:50:54+09:00"
last_activity: "2023-09-07T14:19:00+09:00"
language: "en"
views: 158
replies: 0
source: "WIZnet Makers forum (https://maker.wiznet.io/forum/)"
---

# How to open and bind an UDP broadcast socket

## Question

Asked by Vien Huy Nguyen on 2023-07-28 in Ethernet Chips.

I would like to open an UDP socket that receives broadcast messages. I did some research and see that we need to open the socket and bind it to INADDR_ANY (0x00000000). However, the socket() function in the ioLibrary does not have any parameter for ip address.

How can I achieve this? Thank you.

---

Source: https://maker.wiznet.io/forum/14989
