---
title: "[WIZ107SR] disconnect 방법 문의"
url: "https://maker.wiznet.io/forum/12694"
markdown_url: "https://maker.wiznet.io/forum/12694/md"
type: "Forum topic"
category: "Serial-to-Ethernet & ConfigTool"
author: "phssoo"
created: "2018-01-29T05:34:00+09:00"
last_activity: "2018-01-29T06:05:15+09:00"
language: "ko"
views: 818
replies: 1
source: "WIZnet Makers forum (https://maker.wiznet.io/forum/)"
---

# [WIZ107SR] disconnect 방법 문의

## Question

Asked by phssoo on 2018-01-29 in Serial-to-Ethernet & ConfigTool.

WIZ107SR 를 server 로 사용중에 pc로 부터 connecting 이 된 후 반대로 WIZ107SR 을 searial command 로 접속해지하는 방법 문의드립니다

---

## Replies

### Reply 1 by irina, 2018-01-29

안녕하세요.

phssoo:

> WIZ107SR 을 searial command 로 접속해지하는 방법

아래 내용이 도움이 되실 것 같습니다.

[forcing client disconnection from WIZ107sr serial commands](https://forum.wiznet.io/t/topic/3943/2) [WIZ107/108SR](https://maker.wiznet.io/c/serial-to-ethernet-module/wiz107108sr/121)

> Hi, [@tecnico_2emme](https://maker.wiznet.io/u/tecnico_2emme). You can terminate an existing TCP connection by entering the serial command mode! Please send the 3-bytes command to our module to enter the serial command mode and, immediately exit the command mode with the ‘EX\r\n’ command. (‘\r\n’ means CR and LF ![slight_smile](https://emoji.discourse-cdn.com/twitter/slight_smile.png?v=12) ) Please take caution of the following when using Trigger code. It can only be recognized as switch code if there is a time gap of at least 500ms of no data communication time before and after the 3-byte co…

요약하면, TCP 연결 수립 상태에서 Serial을 통해 강제로 disconnect 하고자 하는 경우 Serial command 모드로 진입 한 뒤 바로 커맨드 모드를 종료하면 된다는 내용입니다.

이러한 경우, 커맨드 모드 진입 시 connection이 끊어지고 모드 종료(-> 데이터 모드 전환) 시 다시 TCP server로 동작하게 되어 client의 연결을 대기하게 됩니다.

---

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