Good morning, I´m using the G120 module, NETMF V3, and I´m trying to add a socket server thread to my app. I´ve seen several examples and searched all over the forum pages, but it seems that everybody use System.Net.Sockets without any problem. I don´t find it anywhere, neither GHI.Premium.Net, that I saw in other examples.
How can I create a “Socket” type object in order to develop my socket server app?
Yes I have it referenced, is the first one. These are my references:
using System;
using System.IO.Ports;
using Microsoft.SPOT;
using System.Threading;
using HRDWRE = Microsoft.SPOT.Hardware;
using GHI.Pins;
using System.IO;
using Microsoft.SPOT.IO;
using GHI.IO.Storage;
using GHI.Glide;
using GHI.Glide.Display;
using GHI.Glide.UI;
using Microsoft.SPOT.Presentation;
using Microsoft.SPOT.Presentation.Media;
using GHI.Processor;
using barcode = GHI.Usb.Host;
using System.Text;
using Microsoft.SPOT.Net;
using Microsoft.SPOT.Net.NetworkInformation;
using GHI.Networking;
USING statements are not references though, right ? USING simply gives you a way of referring to objects in those namespaces by a short name, rather than by their fully qualified name. If you don’t also add the reference (in solution explorer) you won’t have the assembly in your app, so the build will fail.