473,385 Members | 1,569 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Port data transfer

Hey,
Does anyone know if there is something in C that can read the data transfer
in the serial/paralel-port?
Or can't that be done with C?

THX, Erik
Nov 13 '05 #1
2 1800
"Erik D" <ma**@erikduisterwinkel.tmfweb.nl> wrote in
<bj**********@azure.qinip.net>:
Hey,
Does anyone know if there is something in C that can read the data transfer
in the serial/paralel-port?
Or can't that be done with C?

It can be done in C, but not without non-portable extensions to
standardized C (which is the only topic here).
Please refer to a programming NG dedicated to your OS. As you
didn't mention your platform (which would have been off-topic
here either) I cant point you to a specific one, sorry.

Good luck!

Irrwahn

P.S.: there's a FAQ for c.l.c at:
http://www.eskimo.com/~scs/C-faq/top.html
--
If you don't care where you are, then you ain't lost.
Nov 13 '05 #2
"Erik D" <ma**@erikduisterwinkel.tmfweb.nl> writes:
Does anyone know if there is something in C that can read the data
transfer in the serial/paralel-port?
Yes.

If by "something in C" you mean a standardized (and therefore portable)
language feature: the C language itself does not provide such a feature.
You have to use platform-specific facilities.
Or can't that be done with C?


It can, but not in a portable way. If you want to know how it can be done,
please ask in a newsgroup dedicated to your platform.

Martin
Nov 13 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Erik D | last post by:
Hey, Does anyone know if there is something in C that can read the data transfer in the serial/paralel-port? Or can't that be done with C? THX, Erik
3
by: rusttree | last post by:
Many moons ago, I took a class in embedded control at school. The course focused on a micro-controller mounted on a small electric car that was programmed using simple C code. The...
3
by: Swatcat | last post by:
I have a device that send to my computer information by serial com port. The comunication parameters are: PORT: COM 1 Bits per second: 9600 Data bits: 8 Parity: None (0) Stop bits:1 How...
2
by: Steve Norman | last post by:
Hi All, Is it possible to run an ASP.NET website on any other port except the default of 80? We have a dev site set up on port 81, but when we try to run any ASP pages we get the default...
0
by: ckp21082 | last post by:
I want to develop an application that constantly read Com port Read data comming from COM Port and transfer that data to another computer using Winsock so Hyper Terminal can read it. I am able to...
25
by: bmearns | last post by:
Is it possible to specify which port to use as the outbound port on a connection? I have the IP address and port number for the computer I'm trying to connect to (not listening for), but it's...
7
by: davetelling | last post by:
I'm a newbie that is still struggling with OOP concepts & how to make things work they way I want. Using Visual C# Express, I have a form in which I added a user control to display a graph, based...
5
by: chapeau_melon | last post by:
Hello, I'm basicly not a programmer... I found some C++ codes on the net that almost satisfy me needs, wich is to communicate with an other device that sends data to me, wich I have to receive...
2
by: mostafijur | last post by:
Hello My PC has 2 ethernet card.I am using 1 port for internet.The 2nd port is connected with another PC and same network address.I want to send data by the 2nd port to that PC on time...
3
by: karthi84 | last post by:
hi i need to transfer data between two stand alone pc. is it possible for transfer of data between 2 pc using usb port of the 2 machines. both the pc are using windows xp sp2.
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.