More than one simultaneous TCP connection?

Postings related to the second version of the WiShield

More than one simultaneous TCP connection?

Postby bjoerngiesler » Wed Nov 03, 2010 12:39 pm

Hi,

is it possible to open more than a single TCP connection with the WiShield? I'd like to write a simple FTP client, for which you need a control and data connection simultaneously. The WiFly Shield can't do that, which was a big disappointment.

Thanks a lot in advance,
Björn
bjoerngiesler
 
Posts: 1
Joined: Wed Nov 03, 2010 7:50 am

Re: More than one simultaneous TCP connection?

Postby GregEigsti » Wed Nov 03, 2010 5:16 pm

Yes it does. You will need to change a couple of default values in uip-conf.h (WiShield driver code)
Code: Select all
/**
* Maximum number of TCP connections.
*
* \hideinitializer
*/
#define UIP_CONF_MAX_CONNECTIONS 1

/**
* Maximum number of listening TCP ports.
*
* \hideinitializer
*/
#define UIP_CONF_MAX_LISTENPORTS 1
Check out the wiki!
uIP Stack Docs
Compatible Access Point List
WiShield user contrib branch - DNS, DHCP, AP Scanning, bug fixes, etc.
SlackLab.org - My geek projects blog.
User avatar
GregEigsti
 
Posts: 1067
Joined: Sun Aug 02, 2009 5:23 pm
Location: Sammamish WA USA (near Seattle)
  • Website


Return to WiShield 2.0

Who is online

Users browsing this forum: No registered users and 1 guest