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
175 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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Have you thought about creating an iPhone application (app), but didn't even know where to get started? Here's how: ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Important pre-programming comments: I’ve never tri…
An Outlet in Cocoa is a persistent reference to a GUI control; it connects a property (a variable) to a control.  For example, it is common to create an Outlet for the text field GUI control and change the text that appears in this field via that Ou…
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use nested-loops in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.

757 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

23 Experts available now in Live!

Get 1:1 Help Now