Sockets without a network card?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hey,
I have PC and PPC apps communicating with each other. I did it through
sockets, this works fine when the desktop is connected to LAN, when I unplug
the desktop it looses its IP so I cannot reach him from the PPC.
Is there a way how to solve that, doens't the AS stipulate some default IP
for example?

thnx,
mikolas
 
This sounds very non-standart. I'll generalize my question:
What is the standard way to communicate between PPC and Desktop apps?
(Without relying on internet)

thxs,
mikolas
 
Ok, so to clear this out. There is no straight forward
way how to connect PPC and PC through TCP? It would be very convenient,
because then I could use the same protocol to communicate with a remote
server and the desktop the cradle's pluged in.

thank you,
mikolas
 
Or, you can use Sockets (Winsock) over ActiveSync (I do this all the time).
However... You need the Microsoft provided software "chunk" that I referred
to you -- if your PC does not have a network card. This has to do with the
way that the Windows TCP/IP stack works.

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 4th
Edition ISBN 1-890422-28-2 (391 pages) published July 2004. See
www.mabry.com/vbpgser4 to order.
 
I have the winsocks already implemented, so it would be great if I could use
them for cradle too. The thing with the soft you remmandes is that it's kind
of weid to install that on users' comps.

Do you know how VS connects to a debugged device? This must be done through
some protocol.
I saw some references to PPP, but I dont know how to establish such a
connection.

Thnx,
mikolas
 
Back
Top