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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
how to declare a 2-dimensional version of strlen 4 221
How to design, and implement simple interface 5 138
Line meaning 9 88
outlook office 365 8 146
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…
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…
The goal of this video is to provide viewers with basic examples to understand and use pointers in the C programming language.
The goal of this video is to provide viewers with basic examples to understand how to use strings and some functions related to them in the C programming language.

820 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