I'm a little late to the party but I have access to a Beagle 480 USB sniffer and all flavors of Netduino. If any debugging assistance is required, I'd be happy to help out.
- Netduino Forums
- → Viewing Profile: Posts: Patrick
The Netduino forums have been replaced by new forums at community.wildernesslabs.co.
This site has been preserved for archival purposes only
and the ability to make new accounts or posts has been turned off.
About Me
Owner of Dream. Build. Repeat.
A micro-indie rapid hardware prototyping, software development company.
Community Stats
- Group Members
- Active Posts 54
- Profile Views 10930
- Member Title Advanced Member
- Age Age Unknown
- Birthday Birthday Unknown
-
Gender
Not Telling
-
Location
Tampa
Posts I've Made
In Topic: Looking for a few ninja code contributors...
22 March 2013 - 02:10 PM
In Topic: Holding a hacknight with Netduino's and Windows Azure
19 November 2012 - 02:28 PM
Sounds like an awesome time
In Topic: Introducing Netduino Plus 2
08 November 2012 - 04:50 PM
Your timing is perfect. Can't wait for mine to arrive!
Thanks guys!
In Topic: Running out of memory
15 October 2012 - 11:42 PM
Thanks Chris!
I have WireShark installed but I don't have access to the shared host's OS nor do I know how to monitor the traffic from the N+ using it. I moved my test loop into the SocketExample you recommended (much smaller deployment) and it locks up at 561 iterations with no output.
I'm going to try to access some local web services to eliminate the possibility of a server side issue.
In Topic: Running out of memory
15 October 2012 - 10:28 PM
Same exact failure with using sockets and a POST. 563 inserts, then locked.
This just seems crazy to me. Anybody have any idea what could be going on or any input on how to troubleshoot?
private static void TestSockettPost() { int numTests = 1000; while (numTests > 0) { //write test data and show LED led.Write(true); Thread.Sleep(250); try { IPHostEntry host = Dns.GetHostEntry("www.SERVER.com"); IPEndPoint endPoint = new IPEndPoint(host.AddressList[0], 80); using (Socket socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp)) { socket.Connect(endPoint); using (NetworkStream ns = new NetworkStream(socket)) { //POST /somepage.php HTTP/1.1 //Host: example.com //Content-Type: application/x-www-form-urlencoded //Content-Length: 19 byte[] bytes = System.Text.Encoding.UTF8.GetBytes( "POST /PATH/FILE.php HTTP/1.1\r\n" + "Host: www.SERVER.com\r\n" + "Connection: keep-alive\r\n" + "Content-Length: 21\r\n" + "Cache-Control: max-age=0\r\n" + "Origin: null\r\n" + "User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4\r\n" + "Content-Type: application/x-www-form-urlencoded\r\n" + "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\n" + "Accept-Encoding: gzip,deflate,sdch\r\n" + "Accept-Language: en-US,en;q=0.8\r\n" + "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3\r\n" + "\r\n" + "TestID=&TestDesc=TEST"); ns.Write(bytes, 0, bytes.Length); Debug.Print("POST done"); } } } catch (Exception ex) { Debug.Print(ex.Message.ToString()); } //hide LED led.Write(false); Thread.Sleep(250); numTests--; } Debug.Print("Test complete"); }
This just seems crazy to me. Anybody have any idea what could be going on or any input on how to troubleshoot?
- Netduino Forums
- → Viewing Profile: Posts: Patrick
- Privacy Policy