Solved

TCP/IP with .net compact framework

Posted on 2004-08-24
9
1,142 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
 
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

I think the most popular question in our Windows Mobile Programming zone is about the backlight - we all want to keep it on when our application is running. Few years ago the function SystemIdleTimerReset() did this job. On our side we had to detec…
With Windows Embedded Handheld, called Windows Mobile, Microsoft re-designed the user interface. The Start Icon moved down to the bottom, inside the menu bar area.   If you need to hide the Start Icon and/or the SIP (soft input panel, softwar…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

911 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now