---
title: "How can I use TCP Keep Alive function?"
url: "https://maker.wiznet.io/forum/4209"
markdown_url: "https://maker.wiznet.io/forum/4209/md"
type: "Forum topic"
category: "General"
author: "WIZnet"
created: "2018-02-07T00:48:24+09:00"
last_activity: "2021-01-28T23:40:25+09:00"
language: "en"
views: 3175
replies: 0
source: "WIZnet Makers forum (https://maker.wiznet.io/forum/)"
---

# How can I use TCP Keep Alive function?

## Question

Asked by WIZnet on 2018-02-07 in General.

When TCP connection is established, if SEND_KEEP command is provided to command register, 1byte data is transmitted to the peer.
If connection is closed, and no response is received, timeout interrupt occurs.
The period for sending TCP Keep Alive packet, can be decided at the firmware.

thanks ![:slight_smile:](https://emoji.discourse-cdn.com/twitter/slight_smile.png?v=12)

---

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