• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 229
  • Last Modified:

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

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
Andyfungkl
Asked:
Andyfungkl
1 Solution
 
anupvijayCommented:
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
 
AndyfungklAuthor Commented:
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
 
CetusMODCommented:
PAQed, with points refunded (500)

CetusMOD
Community Support Moderator
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now