Forum Menu




 


Log in Problems?
New User? Sign Up!
AVR Freaks Forum Index

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
kottkungen
PostPosted: Jul 23, 2010 - 08:49 AM
Rookie


Joined: Dec 29, 2007
Posts: 29


I've got ethernet up and running using lwIP and FreeRTOS. I've got two threads, one for each port. But when I do nmap on the IP only one port is open. If i restart the device a couple times sometimes the other port is open instead, so it seems like there is some threading issue. I need to be able to on several ports.

Is there a way to solve this?
 
 View user's profile Send private message  
Reply with quote Back to top
kottkungen
PostPosted: Jul 26, 2010 - 10:30 AM
Rookie


Joined: Dec 29, 2007
Posts: 29


Does anybody know how to open multiple ports using lwIP?
 
 View user's profile Send private message  
Reply with quote Back to top
kottkungen
PostPosted: Jul 26, 2010 - 10:55 AM
Rookie


Joined: Dec 29, 2007
Posts: 29


I've solved it. There is a setting called MEMP_NUM_TCP_PCB_LISTEN that puts a limit on this.

_________________
DERP!
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits