Netduino home hardware projects downloads community

Jump to content


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.

dottorduino

Member Since 10 May 2012
Offline Last Active Aug 06 2012 04:19 PM
-----

Posts I've Made

In Topic: Map Serial Port to PC COM

24 May 2012 - 07:57 AM

Why the emulator should not fit the requirement?


Ciao Mario.
Probably the emulator is able to do this, but I can't find a way to make it happen..

In Topic: Transfer file PC to NetDuino SD Card

24 May 2012 - 07:54 AM

ok! Thank you all.

In Topic: HttpWebRequest GetResponse Error

17 May 2012 - 08:18 AM


@Stefan, is their a use case for adding additional info to the XML comment for Simple socket that entering localhost here means you are connecting to the NETMF Board the client is running on, or similar words to that effect?

Nak.


Just for dummies :)

Now I'm fighting with the CLR_E_OUT_OF_RANGE error at runtime!!! :angry:
Maybe the string for the request is too long?

...a few minutes later...

Solved removing the "\r\n" line from my string.

In Topic: HttpWebRequest GetResponse Error

16 May 2012 - 09:25 AM

For localhost it makes sense, since localhost refers to the Netduino itself, which doesn't listen on port 80.


...this was the problem :mellow:

I'm porting from a Console Application where, of course, I refer to my IIS using localhost and I forgot this "little" difference between localhost on a PC and localhost on simulator -.-

Thank you for your support.

In Topic: HttpWebRequest GetResponse Error

16 May 2012 - 09:03 AM

Hi Stefan,
thank you for your quick reply.

Even if I try this simple function:
 private HTTP_Client _remoteSession;
 private IntegratedSocket _remoteSocket;
 [...]

 private void testFunction()
 {
  _remoteSocket = new IntegratedSocket("localhost", 80);
  _remoteSession = new HTTP_Client(_remoteSocket);
            
  HTTP_Client.HTTP_Response response = _remoteSession.Get("");
  [...]


When the .Get(...) method is called, I encounter this message:
An unhandled exception of type 'System.NullReferenceException' occurred in System.dll

The problem (for the debugger) is in IntegratedSocket.cs at line 75.

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.