---
title: "TCP server connection timeout (loopback_tcps example)"
url: "https://maker.wiznet.io/forum/14821"
markdown_url: "https://maker.wiznet.io/forum/14821/md"
type: "Forum topic"
category: "Ethernet Chips"
author: "achref hamouda"
created: "2023-03-03T16:19:49+09:00"
last_activity: "2023-03-03T16:19:49+09:00"
language: "en"
views: 430
replies: 0
source: "WIZnet Makers forum (https://maker.wiznet.io/forum/)"
---

# TCP server connection timeout (loopback_tcps example)

## Question

Asked by achref hamouda on 2023-03-03 in Ethernet Chips.

Hello everyone,
i’m working with the w5500 chip and stm32F207, and i try to make a tcp server loopback application from the loopback example provided by WIZnet .

the other two functions work fine (loopback_tcpc for tcp client and loopback_udps for UDP).

when i debugged the code the listen API in socket.c returns SOCK_OK, i’m not sure about the accept ( the TCP server accepts the TCP client request) i kow there’s no accept API (not like berkely socket APIs).

how can check that, because i think that SOCK_OK returned from the listen API only when the socket enters the listen mode.

Ps: my TCP client return “TCP connection timeout”

---

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