---
title: "Two Telnet server"
url: "https://maker.wiznet.io/forum/10407"
markdown_url: "https://maker.wiznet.io/forum/10407/md"
type: "Forum topic"
category: "Ethernet Chips"
author: "NohYoungsoo"
created: "2014-07-28T09:36:08+09:00"
last_activity: "2017-05-04T08:33:29+09:00"
language: "en"
views: 512
replies: 1
source: "WIZnet Makers forum (https://maker.wiznet.io/forum/)"
---

# Two Telnet server

## Question

Asked by NohYoungsoo on 2014-07-28 in Ethernet Chips.

Hi!
I’m begineer Wiznet’s product w5200.
I’m trying to run two telnet server with two w5200 in STM32F103 MCU.
It use the SPI1, SPI2. ( by reference W5200E01_M3)
And I’m test each telnet server with modified W5200_Telent_SampleCode.

in this, I have a question?

1. How can I run two server at same time?

2. In the code in W5200.c

u8 IINCHIP_SpiSendData(uint8 dat)
{
//return(SPI1_SendByte(dat));
return(SPI2_SendByte(dat));
}

I want to return SPI1_SendByte(dat) or SPI2_SendByte(dat) according to connect server (telent1, telent2).

Could you help me!

## Replies

### Reply 1 by NohYoungsoo, 2014-07-30

midnightcow.
Thanks a lot

---

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