Is there a TcpClient class for the N+2? - Netduino Plus 2 (and Netduino Plus 1) - Netduino Forums
   
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.
Photo

Is there a TcpClient class for the N+2?

tcpclient

  • Please log in to reply
6 replies to this topic

#1 AndrejsM

AndrejsM

    Member

  • Members
  • PipPip
  • 18 posts
  • LocationAtlanta

Posted 21 February 2013 - 03:53 PM

Hi. Is there a TcpClient class for the N+2? If there is, I couldn't find it. If not, what is the method used to send a data stream other than http? Anyone know? Thanks for your help.



#2 JerseyTechGuy

JerseyTechGuy

    Advanced Member

  • Members
  • PipPipPip
  • 870 posts

Posted 21 February 2013 - 05:30 PM

Should be part of System.Net.Sockets



#3 AndrejsM

AndrejsM

    Member

  • Members
  • PipPip
  • 18 posts
  • LocationAtlanta

Posted 21 February 2013 - 05:39 PM

Hi Dave. It is in System.Net.Sockets in regular .NET, however in .NETMF it's not in there. It's also not in Microsoft.SPOT.Net. So unless it's hidden somewhere else, there is no TcpClient class in .NETMF. Is this correct? Does anyone know if it just isn't in .NETMF? Thanks.



#4 NooM

NooM

    Advanced Member

  • Members
  • PipPipPip
  • 490 posts
  • LocationAustria

Posted 21 February 2013 - 05:56 PM

i dont _think_ netmf supports this, but since its very basic stuff its easy to write your own (or just work directly with sockets)

btw: netmf doesent support async in sockets



#5 Stefan

Stefan

    Moderator

  • Members
  • PipPipPip
  • 1965 posts
  • LocationBreda, the Netherlands

Posted 21 February 2013 - 06:07 PM

I wrote my own wrapper, which can be found at http://netmftoolbox....ntegratedSocket

It made working with TCP sockets a bit easier for me.


"Fact that I'm a moderator doesn't make me an expert in things." Stefan, the eternal newb!
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs

#6 Giuliano

Giuliano

    Advanced Member

  • Members
  • PipPipPip
  • 361 posts
  • LocationSimi Valley, CA

Posted 21 February 2013 - 09:29 PM

Hi Stefan, can your wrapper be used to push and retrieve COSM feeds?

#7 Stefan

Stefan

    Moderator

  • Members
  • PipPipPip
  • 1965 posts
  • LocationBreda, the Netherlands

Posted 22 February 2013 - 10:11 AM

Hi Stefan, can your wrapper be used to push and retrieve COSM feeds?

 

I suppose. I don't see why not. I never tried it though.


"Fact that I'm a moderator doesn't make me an expert in things." Stefan, the eternal newb!
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

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.