---
title: "WizFi250 TCP Server station mode , only one TCP client?"
url: "https://maker.wiznet.io/forum/10249"
markdown_url: "https://maker.wiznet.io/forum/10249/md"
type: "Forum topic"
category: "Wireless"
author: "wizfan"
created: "2014-05-20T13:02:18+09:00"
last_activity: "2017-05-04T08:37:41+09:00"
language: "en"
views: 2101
replies: 22
source: "WIZnet Makers forum (https://maker.wiznet.io/forum/)"
---

# WizFi250 TCP Server station mode , only one TCP client?

## Question

Asked by wizfan on 2014-05-20 in Wireless.

Hi
TCP-Server running in station mode (STA)

Power On

Platform BCMUSI11 initialised
Started ThreadX v5.5
Initialising NetX v5.6
Creating Packet pools
Starting Wiced v2.4.0
WWD SDIO interface initialised
WLAN MAC Address : 00:08:AC:00:00:00
WizFi250 Version 1.0.1.1 (WIZnet Co.Ltd)
Joining : NETGEAR24
Successfully joined : NETGEAR24
Successfully joined : NETGEAR24

[Link-Up Event]
IP Addr : 10.0.0.10
Gateway : 10.0.0.1
Start Web Server in Station Mode

AT+MINFO
FW version/HW version
1.0.1.1/WizFi250 Rev 1.0
[OK]

AT+WSTAT
IF/SSID/IP-Addr/Gateway/MAC/TxPower(dBm)/RSSI(-dBm)
STA/NETGEAR24/10.0.0.10/10.0.0.1/00:08:AC:00:00:00/31/14
[OK]

AT+MPROF=VG
+WSET=0,NETGEAR24,6
+WSEC=0,WPA2AES,patiati
+WNET=0,10.0.0.10,255.255.255.0,10.0.0.1
+WREG=AU
+SCON=S,TSN,0.0.0.0,0,5000,1
+SFORM=111111111,7b,2c,7d,0d,0a
+MMSG=3
+MMAC=00:08:AC:00:00:00
+USET=38400,N,8,1,N
+MECHO=1
+FWEBS=1,A
+FGPIO={1,1,3,0},{1,5,3,0},{1,6,3,0},{1,7,3,0},{1,8,3,0}
[OK]

One TCP Client works OK.
Next TCP client can not connect to the succesful servers.Socket error: 10060
WizFi250 can simultaneously connect to with several TCP Client ??
Popular TLN13UA06 in TCP Server mode STA easily connects to four TCP client and works longer than a few months stable. Whether wizfi250 has this problem?

## Replies

### Reply 1 by ssekim, 2014-05-23

Yes, as you said, I’m afraid that support just one TCP Client, unlike WizFi210.

And, I’m not sure when it is supported.

### Reply 2 by wizfan, 2014-05-23

Thank you for answer

I am worried because I already bought a few pieces WizFi250-H. Read about the purchase of this module … and I quote … WizFi250 Programmer’s Guide in the section
Example of Multi … Socket Connection … This section explains how to use &lt;Multi Socket Connection …
…  [color=#0000FF]WizFi250 can use up to 8 TCP or UDP sockets. !! [/color]

…[color=#FF0000]support just one TCP Client[/color]…severely limits the use of

Thanks and best regards

### Reply 3 by ssekim, 2014-06-02

Hello wizfan

Regarding the TCP Server multi connection, I sent the new F/W which supports the feature.

Please, check your email.

### Reply 4 by TeleVox, 2014-08-03

What firmvare version supports the feature (TCP Server multi connection)?
Is the latest version 1.0.1.1 of the software supports this functionality?

Best regards
TeleVox

### Reply 5 by ssekim, 2014-08-03

Hello TeleVox

No, general f/w doesn’t support TCP server multi connection.
To support it, it needs s/w customizing.

### Reply 6 by bakag, 2014-10-19

Hi,

I would like the same functionality. Multiple client connection for one tcp server. how can i download this customized firmware? or is it possible to customize for myself?

Best Regards:
Gergely

### Reply 7 by ssekim, 2014-10-19

Hello Gergely

For now, there is no way to do that.
Sorry for that.

Thanks…

### Reply 8 by phil31, 2015-10-05

dear sekim,

i’m too, looking for such feature !
is it now available with 1.0.4.2 fw ?

if not, may we expect it soon ?

thanks, regards
Phil

### Reply 9 by ssekim, 2015-10-05

Hello Phil

You can ignore the description that 1.0.4.2 is beta.
1.0.4.2 is most stable and latest version.

And you can download 1.0.4.2 right now.
Please refer to the below link.
[url][http://wizwiki.net/wiki/doku.php?id=products:wizfi250:wizfi250firmware:start\[/url\]](http://wizwiki.net/wiki/doku.php?id=products:wizfi250:wizfi250firmware:start%5B/url%5D)

Regards, Steve

### Reply 10 by phil31, 2015-10-06

ssekim,

yes understood that 1.0.4.2 is considered as stable !..
i try it since 2 days and seem working as expected.
with the same issue that explain here : [url][TCP server and UDP client enable](https://forum.wiznet.io/t/tcp-server-and-udp-client-enable/2051/1)]
but i don’t know if this problem come from my code or not !?

---

what i ask here, is can we expect this feature “Multiple client connection for one tcp server” soon ?

---

thanks, regards

### Reply 11 by wizdaniel, 2015-10-19

Hi phil

You can make Multiple client connection for one TCP server.
but WizFi250 should be open the socket as number of clients.

[wizwiki.net/wiki/doku.php?id=pro … connection](http://wizwiki.net/wiki/doku.php?id=products:wizfi250:wizfi250pg:start#example_of_multi_socket_connection)

### Reply 12 by phil31, 2015-10-19

Hello,

what i ask is : “how much PC (web client) can connect to a single WIZFI250 module” ?

by example :
i open a TCP server on my WIZFI250, on IP = 192.168.0.190 (local IP)
if i open a browser from a first PC, then he successful navigate to the web site.
i i open a second web browser, from another PC of the LAN, then this one can’t access to the WIZFI module simultaneously !

or if i open the right port of my ADSL box, i can successful navigate with my external IP to the WIZFI module … but then i can’t access simultaneously from a local PC !..

only 1 client can connect to the wizfi server … same problem as original “Wizfan” post …
you say [quote]“You can make Multiple client connection for one TCP server. but WizFi250 should be open the socket as number of clients.”[/quote]
but i don’t know how much client will be open in same time !.. and i can’t “open a socket” for a each one !

thanks to clarify !
Phil

### Reply 13 by wizdaniel, 2015-10-19

Hi

Because just one socket was opened on WizFi250, Please refer to the guide of WizFi250 at [wizwiki.net](http://wizwiki.net) as i said.

> WizFi250 can use max 8 TCP or UDP sockets

If Just one socket was opened as a Server, Just one Client can connect to the server at the same time.
So, If you want to build the 3 TCP server and 1 UDP server, You have to open the 4 socket as 3 TSN and 1 USN like below.

```
AT+SCON=O,TSN,,,5000,0
[OK]

AT+SCON=O,TSN,,,6000,0
[OK]

AT+SCON=O,TSN,,,7000,0
[OK]

AT+SCON=O,USN,,,8000,0
[OK]
```

### Reply 14 by phil31, 2015-10-20

i do not want multiple TCP server !!!

i want multiple PC connect to 1 TCP server !

let say

WIZFI250 as TCP server on192.168.0.100:1000
PC1 192.168.0.101
PC2 192.168.0.102
ADSL box external IP : 78.193.194.195 / port 1000 right open and routed to the wizfi250

PC1 web browser to 192.168.0.100:1000 ==> working right

PC2 web browser to 78.193.194.195:1000 ==> working right

it work ONLY if 1 PC is connected …
booth PC at same time, only first that make connection, is working !

my issue is about "multiple client to a single TCP server " !.. as the first post of this thread and seekim reply next …

thanks

### Reply 15 by wizdaniel, 2015-10-21

Hi

Multiple TCP server is one solution for multiple connection.
Because WizFi250 can support 1 connection per 1 socket.

Thanks.

### Reply 16 by phil31, 2015-10-21

Hi,

i don’t think that it is a real solution !..
you don’t know how many client will be connected … 2 ??.. 3 ?..
what if you need the others socket than the TCPserver !.. my application require 3 UDP socket and 1 TCPserver …
so i have 4 free sockets … how i do if my user use more than 5 clients !..?

what is the “patched” firmware version that ssekim provide on 4th post reply (Postby ssekim » Mon Jun 02, 2014 2:46 am ) ?
why we can’t use it on official fw release ?

thanks, regards

### Reply 17 by wizdaniel, 2015-10-26

Hi,

Multiple connection(many clients connect to 1 socket at the same time) is not supported in spite of Official firmware.
So, You have to close the socket when a client request ends.
Then you have to open the new sockets for other clients.

### Reply 18 by phil31, 2015-10-26

Daniel,

i understand that multiple client to a TCP server is not officially supported as it is more or less write .
OK !

what i don’t understand is why user Wizfan receive a patched fw from ssekim !
that mean that the WIZFI250 module can support this feature !..
this will really great full if you officially add this support in the 250 module !!! ?

in the mid time, is that possible to try this not official release from ssekim ?

thanks, regards

### Reply 19 by wizdaniel, 2015-11-02

Hi,

I ask of you, do not misconstrue.
It is sure that WizFi250 can not support multiple connection.

### Reply 20 by phil31, 2015-11-04

hi,

i don’t say that the 250module support it !!

i say that it seem that an un official fw can do it
as ssekim write it and send it !?

regards

### Reply 21 by wizdaniel, 2015-11-09

Hi,

He mentioned it.
He tried to make possible.
But the firmware was dropped after he had found serious errors.

### Reply 22 by phil31, 2015-12-08

Dear team,

i’m back with this request !
do you have any news about this “broadcom bug” ? what Broadcom reply to this “SDK problem” ?
please can you share some link that describe this problem ?

this is a serious problem for our application ! we even plan to change our mind and redesign with another wifi module !
a lot of my customers complaign !
do you address this problem ?

thanks, regards
Phil

---

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