---
title: "W7500p TCP/IP client 예제 문의"
url: "https://maker.wiznet.io/forum/14722"
markdown_url: "https://maker.wiznet.io/forum/14722/md"
type: "Forum topic"
category: "MCU & Boards"
author: "GM MJ"
created: "2022-11-25T06:13:37+09:00"
last_activity: "2022-11-27T23:13:58+09:00"
language: "ko"
views: 313
replies: 1
source: "WIZnet Makers forum (https://maker.wiznet.io/forum/)"
---

# W7500p TCP/IP client 예제 문의

## Question

Asked by GM MJ on 2022-11-25 in MCU & Boards.

```
[W7100A] [W7500x] [W7100A-S2E] [W7500-S2E]
```

사용 중인 제품 명을 위와 같이 제목에 명기하시면 **더 빠른 응답**을 받으실 수 있습니다.
본 Template을 삭제 후 문의 내용을 남겨 주세요. ![:slight_smile:](https://emoji.discourse-cdn.com/twitter/slight_smile.png?v=12)

---

안녕하세요
W7500p를 이용해 개발할려합니다.

TCP/IP를 사용하려하는데 server 예제만 있고 client 예제가 안보입니다.
client 예제가 있는지 문의드립니다.

## Replies

### Reply 1 by irina, 2022-11-27

안녕하세요

보고계시는 loopback_tcps 대신 loopback_tcpc함수를 사용하시면됩니다.

[![image](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/2/296de0af462a2279085aaa247142e446e6291c4f.png) image972×280 18.2 KB](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/2/296de0af462a2279085aaa247142e446e6291c4f.png)

변수의 내용은 다르니, 그에 맞게 변경하셔서 사용하시면됩니다.

[github.com](https://github.com/Wiznet/W7500x_StdPeriph_Lib/blob/master/Libraries/ioLibrary/Application/loopback/loopback.c)

#### [Wiznet/W7500x_StdPeriph_Lib/blob/master/Libraries/ioLibrary/Application/loopback/loopback.c](https://github.com/Wiznet/W7500x_StdPeriph_Lib/blob/master/Libraries/ioLibrary/Application/loopback/loopback.c)

```
/*******************************************************************************************************************************************************
 * Copyright �� 2016 <WIZnet Co.,Ltd.> 
 * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ��Software��), 
 * to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, 
 * and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

 * THE SOFTWARE IS PROVIDED ��AS IS��, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 
 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 
 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*********************************************************************************************************************************************************/
#include <stdio.h>
#include "loopback.h"
#include "wizchip_conf.h"

#if LOOPBACK_MODE == LOOPBACK_MAIN_NOBLCOK

int32_t loopback_tcps(uint8_t sn, uint8_t* buf, uint16_t port)
```

This file has been truncated. [show original](https://github.com/Wiznet/W7500x_StdPeriph_Lib/blob/master/Libraries/ioLibrary/Application/loopback/loopback.c)

---

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