473,498 Members | 1,838 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

port

sam
hi
what does validating a port means?
can i get a c program to validate a port
Jun 27 '08 #1
7 1532
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
15654
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
1636
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
13153
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
4006
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
3089
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
7525
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
5049
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
3592
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
6163
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
1807
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
7125
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,...
1
6890
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7379
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5464
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,...
0
4593
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3095
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3085
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
657
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
292
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.