473,320 Members | 2,071 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,320 software developers and data experts.

Question on COM port

Hi,

this isn't really a C question, but I do not know where else to turn to.

Can anyone please tell me how to get the port number for com port 1 and com
port 2? I tried searching the web but can't understand a single thing. Or
any kind soul pls refer me to the correct news group??
Thanks

SIncerely
JImmy
Nov 13 '05 #1
9 2680
Most probably these will help:
comp.dcom.*
comp.unix.programmer,
comp.unix.solaris,
comp.lang.linux

You can search google by groups and
Jimmy wrote:
Hi,

this isn't really a C question, but I do not know where else to turn to.

Can anyone please tell me how to get the port number for com port 1 and com
port 2? I tried searching the web but can't understand a single thing. Or
any kind soul pls refer me to the correct news group??
Thanks

SIncerely
JImmy


Nov 13 '05 #2
Thx.

Can I ask another question then. I i want to receive data from communication
port one and send them to communication port 2, How can I do it. What
command should I use??

--
Regards

Jimmy Lim
iWOW Communications
Tel: +65 67488123
Fax: +65 67482668

"Pushkar Pradhan" <pu*****@gri.msstate.edu> wrote in message
news:3F**************@gri.msstate.edu...
Most probably these will help:
comp.dcom.*
comp.unix.programmer,
comp.unix.solaris,
comp.lang.linux

You can search google by groups and
Jimmy wrote:
Hi,

this isn't really a C question, but I do not know where else to turn to.

Can anyone please tell me how to get the port number for com port 1 and com port 2? I tried searching the web but can't understand a single thing. Or any kind soul pls refer me to the correct news group??
Thanks

SIncerely
JImmy

Nov 13 '05 #3
Jimmy <ji*****@iwow.com.sg> scribbled the following:
Thx. Can I ask another question then. I i want to receive data from communication
port one and send them to communication port 2, How can I do it. What
command should I use??
Try asking that on the newsgroups Pushkar mentioned. COM ports are not
C language concepts.
"Pushkar Pradhan" <pu*****@gri.msstate.edu> wrote in message
news:3F**************@gri.msstate.edu...
Most probably these will help:
comp.dcom.*
comp.unix.programmer,
comp.unix.solaris,
comp.lang.linux


--
/-- Joona Palaste (pa*****@cc.helsinki.fi) ------------- Finland --------\
\-- http://www.helsinki.fi/~palaste --------------------- rules! --------/
"The large yellow ships hung in the sky in exactly the same way that bricks
don't."
- Douglas Adams
Nov 13 '05 #4
Pushkar Pradhan wrote:
Most probably these will help:
comp.dcom.*
comp.unix.programmer,
comp.unix.solaris,
comp.lang.linux

You can search google by groups and


PLEASE STOP TOP-POSTING! This is the third time I've asked. Review some
basic netiquette before you post again, please!

-Kevin
--
My email address is valid, but changes periodically.
To contact me please use the address from a recent posting.

Nov 13 '05 #5
Pushkar Pradhan wrote:
Most probably these will help:
comp.dcom.*
comp.unix.programmer,
comp.unix.solaris,
comp.lang.linux


Whom would these help, and in what context? And why are you telling
comp.lang.c this?

--
Richard Heathfield : bi****@eton.powernet.co.uk
"Usenet is a strange place." - Dennis M Ritchie, 29 July 1999.
C FAQ: http://www.eskimo.com/~scs/C-faq/top.html
K&R answers, C books, etc: http://users.powernet.co.uk/eton
Nov 13 '05 #6
Jimmy wrote:
Thx.

Can I ask another question then. I i want to receive data from
communication port one and send them to communication port 2, How can I do
it. What command should I use??


Try asking in a newsgroup where communication port programming is topical.
For example, comp.os.msdos.programmer, comp.os.ms-windows.programmer.win32,
or comp.unix.programmer.

--
Richard Heathfield : bi****@eton.powernet.co.uk
"Usenet is a strange place." - Dennis M Ritchie, 29 July 1999.
C FAQ: http://www.eskimo.com/~scs/C-faq/top.html
K&R answers, C books, etc: http://users.powernet.co.uk/eton
Nov 13 '05 #7
In <bq**********@reader01.singnet.com.sg> "Jimmy" <ji*****@iwow.com.sg> writes:
Can I ask another question then. I i want to receive data from communication
port one and send them to communication port 2, How can I do it. What
command should I use??


The C language doesn't have any commands at all. You're obviously in the
wrong newsgroup.

Are you using an OS or are you programming on the bare hardware?
If you're using an OS, go to a newsgroup dedicated to programming on your
OS, otherwise go to a newsgroup dedicated to your hardware.

Dan
--
Dan Pop
DESY Zeuthen, RZ group
Email: Da*****@ifh.de
Nov 13 '05 #8
In <3F**************@gri.msstate.edu> Pushkar Pradhan <pu*****@gri.msstate.edu> writes:
Most probably these will help:
comp.dcom.*
comp.unix.programmer,
comp.unix.solaris,
comp.lang.linux


Did you try understanding the question *before* replying? If yes, please
explain why the port address associated to a serial port is relevant to
any of these newsgroups? If you're using an OS at all, you don't care
and you don't need to care about hardware port addresses.

BTW, I can't find a newsgroup called comp.lang.linux. Unsurprisingly,
since I've never heard of a programming language called linux. But
maybe I'm missing something.

Dan
this isn't really a C question, but I do not know where else to turn to.

Can anyone please tell me how to get the port number for com port 1 and com
port 2? I tried searching the web but can't understand a single thing. Or
any kind soul pls refer me to the correct news group??


Dan
--
Dan Pop
DESY Zeuthen, RZ group
Email: Da*****@ifh.de
Nov 13 '05 #9


Richard Heathfield wrote:
Pushkar Pradhan wrote:

Most probably these will help:
comp.dcom.*
comp.unix.programmer,
comp.unix.solaris,
comp.lang.linux

Whom would these help, and in what context? And why are you telling
comp.lang.c this?

Anyone doing system programming, I'm just helping him go to the proper
newsgroup.
It's clear from the subject line that's it an OT so those who choose can
neglect this post.
Nov 13 '05 #10

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

Similar topics

4
by: Richard Spooner | last post by:
Hey, I'm very new to python and am trying to do the following. I may get the jargon wrong at times but hopefully you can see what I'm trying to do... I have created a threaded class which...
3
by: Aaron | last post by:
I'm trying to learn how the HTTP protocol works. When aserver has many clients accessing it at the same time. Say 200 people. How does it maintain connection with 200 different concurrent client...
16
by: dario | last post by:
Hi, Im new on phyton programming. On my GPRS modem with embedded Phyton 1.5.2+ version, I have to receive a string from serial port and after send this one enclosed in an e-mail. All OK if the...
4
by: 0to60 | last post by:
I have a question about socket programming in general. Exactly what happens behind the scenes when I one socket connects to a different socket in listen mode? Using the dotnet framework, I...
4
by: Tiraman | last post by:
hi , i just started to work with sockets and there are 2 question that bother me. 1) i have a client server application and the server listen for incoming connections from the clients BUT how...
1
by: Benry | last post by:
Hi guys. I hope I can discuss Twisted here. If not, direct me to the correct place please. My question(s): I'm working on a custom network protocol (application layer in TCP/IP model) for a...
5
by: sieg1974 | last post by:
Hi, This piece of code returns ip = -1062731404 (192.168.1.116) and port = 5069, when the following buffer is used. Can someone explain me how "%x.%x" is matching "192.168.1.116:5069"? int...
3
by: SteveT | last post by:
OK I know this question doesn't belong here but there are a lot more knowledgeable people on this forum and since most of us use FTP to transfer our ASP files and we are concerned about security I...
3
by: chernevik | last post by:
Here is a newbie question: how do I get the server examples in the Preview chapter of "Progamming Python" (Lutz) to run? The code is supposed to be a little webserver on which to run examples,...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.