Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

TCP/IP with .net compact framework

Posted on 2004-08-24
9
Medium Priority
?
1,171 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
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
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: 11897764
0
 
LVL 10

Accepted Solution

by:
prakash_prk earned 1000 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

Question has a verified solution.

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

Progress means simplifying, not complicating. Bruno Munari Preface How to detect the name of the internal storage or an SD-card on Windows Mobile device from the desktop application? I got this question, when I was working on a PC applicati…
A short article about problems I had with the new location API and permissions in Marshmallow
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

877 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