470,848 Members | 1,712 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,848 developers. It's quick & easy.

port

sam
hi
what does validating a port means?
can i get a c program to validate a port
Jun 27 '08 #1
7 1361
In comp.lang.c, sam wrote:
hi
what does validating a port means?
In comp.lang.c, "invalidating a port" is a meaningless phrase.

In /some/ operating environments, it /may/ mean to "close or disconnect a
communications channel", but it can just as easily mean to "write a known
bad value to a hardware I/O channel"
can i get a c program to validate a port
Not in comp.lang.c, you cant.

You can try comp.sources.wanted, or a newsgroup dedicated to your operating
system platform
--
Lew Pitcher

Master Codewright & JOAT-in-training | Registered Linux User #112576
http://pitcher.digitalfreehold.ca/ | GPG public key available by request
---------- Slackware - Because I know what I'm doing. ------
Jun 27 '08 #2
In article <ec**************************@TEKSAVVY.COM-Free>,
Lew Pitcher <lp******@teksavvy.comwrote:
>In comp.lang.c, sam wrote:
>hi
what does validating a port means?
>In comp.lang.c, "invalidating a port" is a meaningless phrase.
>In /some/ operating environments, it /may/ mean to "close or disconnect a
communications channel", but it can just as easily mean to "write a known
bad value to a hardware I/O channel"
That's *in*validating a port; the original poster asked about
*validating* a port.

"validating a port" is the process of checking that a program has
been successfully adapted from one platform / environment to
a different one.

When it comes to an entire compiler or similar program that has
behaviours defined by a standard, then a program to perform a
full or partial validation would be called a "conformance suite".

You can probably purchase a C conformance suite. The last time the
question arose, someone stated that there were definitely no free
(comprehensive?) C conformance suites; I have never looked for
one so I don't know.
--
"Style is instinctive and few achieve it in a notable degree. Its
development is not hastened by instruction. It comes or it doesn't.
It will take care of itself." -- Walter J. Phillips
Jun 27 '08 #3
Hi

On May 25, 4:17 pm, sam <hska.8...@gmail.comwrote:
what does validating a port means?
It could mean all sorts of things. A port can mean:

- a number used to differentiate which software on a machine should
deal with a messages received from a network

- a memory area or hardware address used by software to communicate
with some piece of hardware

- an implementation of a piece of software on a type of machine other
than the one it was written for

- or other things

"Validating" here means making sure something works or is ready to be
used. What that involves depends on what a port is.
can i get a c program to validate a port
If you mean can I download a c program to do this, then try google.

If you mean can I write a program to do it, then yes, but it will be
difficult. You need to work out what sort of port you mean, and then
find a group that is suited to programming for that sort of thing.
When you post there, give much more detail regarding what you mean and
what your situation is. Usenet readers cannot read your mind!

HTH
viza
Jun 27 '08 #4
Lew Pitcher <lp******@teksavvy.comwrites:
In comp.lang.c, sam wrote:
> what does validating a port means?

In comp.lang.c, "invalidating a port" is a meaningless phrase.
So is "validating a port", which is what he asked about.

[...]
>can i get a c program to validate a port
Not in comp.lang.c, you cant.

You can try comp.sources.wanted, or a newsgroup dedicated to your operating
system platform
Right. (But is comp.sources.wanted still alive?)

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
Nokia
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
Jun 27 '08 #5
On 25 May 2008 at 18:10, Keith Thompson wrote:
Right. (But is comp.sources.wanted still alive?)
No, it isn't. Yet another reason to ask C-related questions in a C
newsgroup.

Jun 27 '08 #6
In comp.lang.c, Walter Roberson wrote:
In article <ec**************************@TEKSAVVY.COM-Free>,
Lew Pitcher <lp******@teksavvy.comwrote:
>>In comp.lang.c, sam wrote:
>>hi
what does validating a port means?
>>In comp.lang.c, "invalidating a port" is a meaningless phrase.
>>In /some/ operating environments, it /may/ mean to "close or disconnect a
communications channel", but it can just as easily mean to "write a known
bad value to a hardware I/O channel"

That's *in*validating a port; the original poster asked about
*validating* a port.

"validating a port" is the process of checking that a program has
been successfully adapted from one platform / environment to
a different one.
Oops...

Of course, you are correct.

My apologies

--
Lew Pitcher

Master Codewright & JOAT-in-training | Registered Linux User #112576
http://pitcher.digitalfreehold.ca/ | GPG public key available by request
---------- Slackware - Because I know what I'm doing. ------
Jun 27 '08 #7
Walter Roberson wrote:
>When it comes to an entire compiler or similar program that has
behaviours defined by a standard, then a program to perform a
full or partial validation would be called a "conformance suite".

You can probably purchase a C conformance suite. The last time the
question arose, someone stated that there were definitely no free
(comprehensive?) C conformance suites; I have never looked for
one so I don't know.
The subject came up recently in comp.compilers:

Mayan Moudgill wrote:
>ca*****@bluegrass.net wrote:
>I'm trying to find out if I can find standardized tests that will
help, or if I'm just going to have to download every program I can
find and compile it to see what happens.

Short answer: you have to go buy the test-suites. There are 4 of them
out there: ACE, Perennial, Plum-Hall, and Nullstone. I vaguely remember
that there was one from some indian company, as well.
--
Roberto Waltman

[ Please reply to the group,
return address is invalid ]
Jun 27 '08 #8

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

21 posts views Thread by Alexander N. Spitzer | last post: by
reply views Thread by per.bergstrom | last post: by
2 posts views Thread by willie | last post: by
6 posts views Thread by kai | last post: by
7 posts views Thread by Sharon | last post: by
4 posts views Thread by H J van Rooyen | last post: by
25 posts views Thread by bmearns | last post: by
13 posts views Thread by Rob | last post: by
5 posts views Thread by Maciej Sondej | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.