Netduino home hardware projects downloads community

Jump to content

The Netduino forums have been replaced by new forums at This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.


Member Since 08 Feb 2012
Offline Last Active Private

Posts I've Made

In Topic: Web server, socket, reading buffer data?

11 February 2016 - 06:52 PM

Hi Ian,


Thanks for the reply. Actually at the end of my post I mention that I am currently using HTTPWebRequest, but the result is the same i.e. I only see the header info in the buffer received. So as a workaround I am using the UserAgent property and setting that value to the degrees I want my servo to turn to since I can see that property in the heading.


The code using WebRequest came directly from here:



In that example a long string value is put in a field called postData and sent to the web server. It is that string that I would like to Debug.Print on the Netduino 3 end.


I read through the post you referenced. I also downloaded the XivelyClient you mentioned, put it in a quick console app, and altered it to send to my Netduino 3. The result is also the same. All versions, WebRequest, HttpWebRequest, and XivelyClient's HttpWebRequest, successfully enter the Netduino 3 code listening for requests (ListenForRequest above) . I just don't seem to be able to tweeze out the data value I purposefully put in the byte array. The buffer received only prints:

Content-Type: application/x-www-form-urlencoded
Content-Length: 3
Expect: 100-continue
Connection: Keep-Alive

Thanks again,


home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.