Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Web server - multiple access

 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> EASY TCP/IP
View previous topic :: View next topic  
Author Message
bibibo

Bascom Member



Joined: 30 Nov 2009
Posts: 168

slovakia.gif
PostPosted: Mon Aug 04, 2014 6:55 pm    Post subject: Web server - multiple access Reply with quote

Hello, i made small web server but i found that multiple access at the same time is not possible. I tried launch website on two computers at the same time. Could you give me an idea how to fix it ?
Back to top
View user's profile
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 5921
Location: Holland

blank.gif
PostPosted: Mon Aug 04, 2014 8:09 pm    Post subject: Reply with quote

you have only 1 socket listening. this means you can only server one client at the time.
please have a look at the provided samples which use multiple sockets.

_________________
Mark
Back to top
View user's profile Visit poster's website
Paulvk

Bascom Member



Joined: 28 Jul 2006
Posts: 1257
Location: SYDNEY

australia.gif
PostPosted: Tue Aug 05, 2014 1:10 am    Post subject: Reply with quote

Hello bibibo

I have a new blog in the blog section with a wiznet web server it uses the 4 sockets of the W5100 with the M128 it will work ok.
It stores the TCPIP settings in eeprom and reads them from SD card or a rs232 command line and web page so they need not be hard coded but I still leave a default in the code.
I regularly use 2 PCs to work with it so I can test it with different browsers.

Regards Paul
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> EASY TCP/IP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum