Solved

How to setup a HTTP connection between a MS Windows PC (HTTP client) and a Linux Device over an USB Serial connection?

Posted on 2004-04-27
4
184 Views
Last Modified: 2010-04-15
Currently, I am working on a project which I have to write a MS Windows application to connect the PC to a Embedded Linux device using an USB (1.1) serial connection. I have to establish a HTTP connection between the MS Windows PC and the Linux device. And Applications residing in on both side will be able to exchange data thru the HTTP connection.

I am able to make the USB serial working on both side. A serial com port is created on the MS Windows PC side and I can use Hyper terminal on the PC to send data back & forth between these machines. Right now, the problem I encounter is to setup HTTP client over the USB serial driver that my colleague wrote.

Please provide me some idea and information to help me to finish this project.

thanks

andy
0
Comment
Question by:Andyfungkl
4 Comments
 
LVL 2

Expert Comment

by:anupvijay
ID: 10937419
Do you want to do this purely through software only ?
I mean I am aware of some Ethernet to USB and vice-versa converters which might mean that you may not need to
write any software at all.

Otherwise you would have to format a HTTP request as per HTTP protocol and then send it over the USB to the peer
and then another component would have to re-direct it to the Web server on port 80(default).

Right now nothing other than the above options are coming into my mind..........

Any other expert with any other ideas ????? Mine might sound stupid :-)

Cheers.
0
 

Author Comment

by:Andyfungkl
ID: 10937854
Yes, It has to be done purely through software. The situation is that HTTP server has been setup in the Linux Device through PPP over USB serial. And the USB serial has also been done in the MS Windows PC side. Now I have to write an application to setup the HTTP client (through PPP) on the MS Windows side.

Any idea?
0
 

Accepted Solution

by:
CetusMOD earned 0 total points
ID: 11695842
PAQed, with points refunded (500)

CetusMOD
Community Support Moderator
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

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

Preface I don't like visual development tools that are supposed to write a program for me. Even if it is Xcode and I can use Interface Builder. Yes, it is a perfect tool and has helped me a lot, mainly, in the beginning, when my programs were small…
Summary: This tutorial covers some basics of pointer, pointer arithmetic and function pointer. What is a pointer: A pointer is a variable which holds an address. This address might be address of another variable/address of devices/address of fu…
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use for-loops in the C programming language.
The goal of this video is to provide viewers with basic examples to understand how to create, access, and change arrays in the C programming language.

910 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

15 Experts available now in Live!

Get 1:1 Help Now