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

port

sam
hi
what does validating a port means?
can i get a c program to validate a port
Jun 27 '08 #1
7 1528
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

21
by: Alexander N. Spitzer | last post by:
If I have a machine with 3 virtual IP addresses (192.168.1.), how can I start 3 instances of the same RMI application (each started with different properties/configs), each listening on the port...
0
by: per.bergstrom | last post by:
To whom it may concern, The serial port server 'cnhd38' has been terminated (on who's initiative, I don't know). It affects the users of the (at least) following nodes: cnhd36, cnhd44, cnhd45,...
2
by: willie | last post by:
Hi, I'm writing a program which requires the use of three serial ports and one parallel port. My application has a scanning devices on each port, which I can access fine with pyserial. ...
5
by: Jason | last post by:
After a server accepts a client connection on a certain port, a new socket is created on the server on a system managed dynamic port to handle the connection. Please confirm this. If so, how...
6
by: kai | last post by:
Hi, I was tring to run an example (HelloWorld.aspx) from MSPrss book, I get this message: "ASP.NET Development Server faild to start listening port 1034. Error message: An attempt was made...
7
by: Sharon | last post by:
Hi all, I've implemented a TCP server using the Socket async methods. When connecting to the server from 3 instances of hyper terminal, i've noticed that each of the newly created server sockets,...
4
by: H J van Rooyen | last post by:
Hi All, I am writing a polling controller for an RS-485 line that has several addressable devices connected. It is a small access control system. All is well- the code runs for anything from...
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...
13
by: Rob | last post by:
Hi all, I am fairly new to python, but not programming and embedded. I am having an issue which I believe is related to the hardware, triggered by the software read I am doing in pySerial. I...
5
by: Maciej Sondej | last post by:
Hi, I have problem. I want to react on event which come from IO.Port(RS232). I have a class that works on console application class Program { static void Main(string args) {
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.