Solved

TCP/IP with .net compact framework

Posted on 2004-08-24
9
1,143 Views
Last Modified: 2013-11-18
Hi

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

Cheers
0
Comment
Question by:tomt84
  • 5
  • 2
  • 2
9 Comments
 
LVL 48

Expert Comment

by:Mikal613
ID: 11891637
Well from where is your tcp connection coming from a) Active Sync b)802.11b c)grps ????? Please be more specific
0
 
LVL 1

Author Comment

by:tomt84
ID: 11894915
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
 
LVL 48

Expert Comment

by:Mikal613
ID: 11895009
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 1

Author Comment

by:tomt84
ID: 11897117
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
 
LVL 48

Expert Comment

by:Mikal613
ID: 11897754
0
 
LVL 48

Expert Comment

by:Mikal613
ID: 11897758
0
 
LVL 48

Expert Comment

by:Mikal613
ID: 11897764
0
 
LVL 10

Accepted Solution

by:
prakash_prk earned 250 total points
ID: 11952528

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

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

prakash
0
 
LVL 10

Expert Comment

by:prakash_prk
ID: 11960250
Thank you tomt84
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface: This article is part of a series focused on cross platform mobile app development (specifically Android and iOS) using the Alloy framework and Titanium Studio made by Appcelerator (https://www.appcelerator.com/). This article presumes a wor…
Once again I push the limits of my phone.  An introduction to the Android Google Now Launcher.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question