Networking Forums

Networking Forums > Computer Networking > Linux Networking > USB Ports and Sockets

Reply
Thread Tools Display Modes

USB Ports and Sockets

 
 
gpl@fishcroft.ca
Guest
Posts: n/a

 
      10-15-2005, 03:38 AM
Please note networking is not my strong suit so this may be a dumb
question.

Say I have two Linux devices connected via USB ports, is it possible to
communicate using sockets over the USB connection. If so, can any one
point me at the relevant documentation.

Thanks in advance,

Robert
(E-Mail Removed)

 
Reply With Quote
 
 
 
 
Unruh
Guest
Posts: n/a

 
      10-15-2005, 06:34 AM
(E-Mail Removed) writes:

>Please note networking is not my strong suit so this may be a dumb
>question.


>Say I have two Linux devices connected via USB ports, is it possible to


What is a linux "device"? Do you mean a computer? And what do you mean
"connected via usb ports"-- a cable running from the usb port on one
computer to that on another?

>communicate using sockets over the USB connection. If so, can any one
>point me at the relevant documentation.


>Thanks in advance,


>Robert
>(E-Mail Removed)


 
Reply With Quote
 
gpl@fishcroft.ca
Guest
Posts: n/a

 
      10-15-2005, 03:00 PM
Yes. Two computers connected to each other using the USB interface,
usually using a cable. Assuming each computer is running Linux is
there a method or existing driver/software that will allow BSD
compatible sockets, as found in Linux , to communicate over the USB
interface between applications running on the two computers.

Robert
(E-Mail Removed)

 
Reply With Quote
 
Giovanni
Guest
Posts: n/a

 
      10-15-2005, 03:32 PM
On 10/15/05 17:00, (E-Mail Removed) wrote:
> Yes. Two computers connected to each other using the USB interface,
> usually using a cable. Assuming each computer is running Linux is
> there a method or existing driver/software that will allow BSD
> compatible sockets, as found in Linux , to communicate over the USB
> interface between applications running on the two computers.
>
> Robert
> (E-Mail Removed)
>


See <http://www.linux-usb.org/usbnet/>. May be what you need.

Ciao
Giovanni
--
A computer is like an air conditioner,
it stops working when you open Windows.
Registered Linux user #337974 <http://counter.li.org/>
 
Reply With Quote
 
David Schwartz
Guest
Posts: n/a

 
      10-15-2005, 10:53 PM

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed) oups.com...

> Please note networking is not my strong suit so this may be a dumb
> question.


> Say I have two Linux devices connected via USB ports, is it possible to
> communicate using sockets over the USB connection. If so, can any one
> point me at the relevant documentation.


You cannot directly connect two USB masters to each other. The USB
protocol is asymettric with a master (the computer) and a device (a hard
drive, networking interface, serial port, whatever). In order to connect two
computers to each other, you would need two USB devices, one for each
computer, that spoke to each other.

DS


 
Reply With Quote
 
gpl@fishcroft.ca
Guest
Posts: n/a

 
      10-15-2005, 11:17 PM
Thanks

Robert

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RAW TCP/IP sockets George Valkov Windows Networking 1 09-22-2006 02:49 AM
General question about use of ports when programming with sockets 0to60 Windows Networking 4 10-10-2005 09:59 AM
sockets Sam Linux Networking 2 07-07-2004 08:54 AM
UDP sockets Sven Jacobs Linux Networking 0 05-10-2004 06:06 AM
USB port adapter -> Multi USB ports existing ? Extending number of USB ports possible ? Thomas Jerkins Windows Networking 1 12-24-2003 01:15 PM



1 2 3 4 5 6 7 8 9 10 11