Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.networking > #797

Re: sockets over USB cable, ok ?

From Chris Davies <chris-usenet@roaima.co.uk>
Newsgroups comp.os.linux.networking
Subject Re: sockets over USB cable, ok ?
Date 2011-11-11 14:00 +0000
Organization Roaima. Harrogate, North Yorkshire, UK
Message-ID <ddmvo8xa2c.ln2@news.roaima.co.uk> (permalink)
References <j9i6gi$kh1$1@news.albasani.net>

Show all headers | View raw


sl@exabyte <ecp_gen@my-rialto.com> wrote:
> I am planning to retrieve SMS/MMS messages from an Android phone. The
> phone will be connected via an USB cable to a windows xp pc.

Good luck.


> But I do have a doubt. Normally sockets are done through network
> interface card.

No they're not.

Network sockets are used for communication over a network (typically
an IP based one). Networks often use a NIC to build the connection
out to "the network", but this isn't essential (think modems, serial
connections, PPP, etc.). There are also Unix domain sockets, which are
used for communication on a (typically Unix-like) local server. There
are other socket types, too (IPX, X.25, Appletalk, etc).


> In the situation above, the phone and PC is connected via a USB
> cable. Would there be any problem ?

There could be lots of problems. How are you going to get the PC and the
Android to talk to each other over USB? Are you going to be permitted
to have an application scrape SMS messages from the phone and present
them out via some interface?

Last time I tried, it seemed that plugging a USB cable into my Wildfire
(Android-based device) caused it either to use the USB purely for
charging, or to dismount the SD Card and present that to my PC as a USB
disk drive. I don't recall a client/server option - but I could easily
be wrong, as I wouldn't have been looking for such an option anyway.

Personally, if I needed an SMS gateway/interface for a PC based
application I'd either look at using a directly connected device, such
as a 3G modem, or else something that worked with gnokii or one of its
alternatives/successors. The latter option works well for me, here.


Oh, by the way, I'm puzzled why you're asking in a Linux networking
newsgroup about Android and Windows XP. I suspect you might be better
off asking such questions in the MSDN forums over there -->

Chris

Back to comp.os.linux.networking | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

sockets over USB cable, ok ? "sl@exabyte" <ecp_gen@my-rialto.com> - 2011-11-11 12:28 -0800
  Re: sockets over USB cable, ok ? Chris Davies <chris-usenet@roaima.co.uk> - 2011-11-11 14:00 +0000
  Re: sockets over USB cable, ok ? Stefan Monnier <monnier@iro.umontreal.ca> - 2011-11-11 10:54 -0500
  Re: sockets over USB cable, ok ? lollolo <lulz@strallol.lol> - 2011-11-25 11:29 +0000

csiph-web