N+ Port Listener
#1
Posted 18 April 2011 - 07:14 PM
#2
Posted 18 April 2011 - 08:16 PM
I think what I am looking for is either a UDP or TCP listener. But the NETMF doesn't support them. Any ideas on other methods, or am I completely missing the boat somewhere?
Luke,
I needed to provide a web server for a project I worked on a while ago (details here) which can be used to isten on multiple ports - just put each listener in it's own thread.
And welcome to the community.
Hope this helps,
Mark
- Michel Trahan likes this
To be or not to be = 0xFF
Blogging about Netduino, .NET, STM8S and STM32 and generally waffling on about life
Follow @nevynuk on Twitter
#3
Posted 20 April 2011 - 07:36 PM
Luke,
I needed to provide a web server for a project I worked on a while ago (details here) which can be used to isten on multiple ports - just put each listener in it's own thread.
And welcome to the community.
Hope this helps,
Mark
Thanks Mark, I'll take a look and report back.
#4
Posted 21 April 2011 - 04:05 PM
#5
Posted 21 April 2011 - 04:45 PM
Would it be too much to ask to package this project and transfer it to the wiki somehow ? Thanks for posting !I needed to provide a web server for a project I worked on a while ago (details here) which can be used to isten on multiple ports - just put each listener in it's own thread.
#6
Posted 21 April 2011 - 05:29 PM
I wanted to get back to you. I understand now and your example REALLY helped. I took bits of your code (I hope thats ok) and am patching them into the rest of my code.
I'm glad it helped. My code is free for non commercial use so feel free to use it as such.
Regards,
Mark
To be or not to be = 0xFF
Blogging about Netduino, .NET, STM8S and STM32 and generally waffling on about life
Follow @nevynuk on Twitter
#7
Posted 21 April 2011 - 05:36 PM
Would it be too much to ask to package this project and transfer it to the wiki somehow ? Thanks for posting !
I suppose this needs some feedback from Chris. Has there been any ideas about a structure of a code repository and requirements for adding code into it?
The project showcase is a great place to put code etc. or links to our own blogs / pages discussing our projects and the Wiki seems to be the next step. I'd like to know if there is any thoughts on the way forward with the Wiki following the discussion thread a few weeks ago.
Regards,
Mark
To be or not to be = 0xFF
Blogging about Netduino, .NET, STM8S and STM32 and generally waffling on about life
Follow @nevynuk on Twitter
#8
Posted 21 April 2011 - 08:03 PM
Soon we'll be opening the Sandbox Wiki to the public--and that will become the place to post actual code (linked from the forums). We will be soliciting feedback on templates to help structure that...and it sounds like a few of you already have very good ideas on what that should look like!
Thanks for all the contributions, guys. I love this community.
Chris
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users