• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1178
  • Last Modified:

TCP/IP with .net compact framework

Hi

Anyone able to give me any pointers on using a TCP connection on pocket pc 2003 using .net compact framework (VB)?

Cheers
0
tomt84
Asked:
tomt84
  • 5
  • 2
  • 2
1 Solution
 
Mikal613Commented:
Well from where is your tcp connection coming from a) Active Sync b)802.11b c)grps ????? Please be more specific
0
 
tomt84Author Commented:
Not really that important to be specific - indeed I cannot be more specific because the answer could be "all three". Anyway what would the difference be other than the NIC having a different source address?

Assume my device has an IP address associated with a NIC (either activesync, wifi, or GPRS, or indeed cabled ethernet). I want to connect using TCP to some arbitrary host from the pocket PC to transfer some data. I can do all of this using winsock and VB on the PC - I just need to know the pocket PC equivalent to winsock I suppose.

Cheers
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
tomt84Author Commented:
No, sorry, you've misunderstood me again. I'm not using HTTP or FTP. Windows Sockets does not have FTP and HTTP functionality directly.

I am writing a client and a server that will communicate on an arbitary TCP port with a protocol of my specification, not HTTP or FTP or whatever.
0
 
prakash_prkCommented:

Try the  System.net.Sockets.tcpclient & tcplistener classes

http://www.awprofessional.com/articles/article.asp?p=101143&seqNum=2

prakash
0
 
prakash_prkCommented:
Thank you tomt84
0

Featured Post

2018 Annual Membership Survey

Here at Experts Exchange, we strive to give members the best experience. Help us improve the site by taking this survey today! (Bonus: Be entered to win a great tech prize for participating!)

  • 5
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now