hi
what does validating a port means?
can i get a c program to validate a port 7 1539
In comp.lang.c, sam wrote:
hi
what does validating a port means?
In comp.lang.c, "invalidati ng 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.wa nted, 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. ------
In article <ec************ **************@ TEKSAVVY.COM-Free>,
Lew Pitcher <lp******@teksa vvy.comwrote:
>In comp.lang.c, sam wrote:
>hi what does validating a port means?
>In comp.lang.c, "invalidati ng a port" is a meaningless phrase.
>In /some/ operating environments, it /may/ mean to "close or disconnect a communicatio ns 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 "conformanc e 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
Hi
On May 25, 4:17 pm, sam <hska.8...@gmai l.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
Lew Pitcher <lp******@teksa vvy.comwrites:
In comp.lang.c, sam wrote:
> what does validating a port means?
In comp.lang.c, "invalidati ng 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.wa nted, or a newsgroup dedicated to your operating
system platform
Right. (But is comp.sources.wa nted still alive?)
--
Keith Thompson (The_Other_Keit h) 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"
On 25 May 2008 at 18:10, Keith Thompson wrote:
Right. (But is comp.sources.wa nted still alive?)
No, it isn't. Yet another reason to ask C-related questions in a C
newsgroup.
In comp.lang.c, Walter Roberson wrote:
In article <ec************ **************@ TEKSAVVY.COM-Free>,
Lew Pitcher <lp******@teksa vvy.comwrote:
>>In comp.lang.c, sam wrote:
>>hi what does validating a port means?
>>In comp.lang.c, "invalidati ng a port" is a meaningless phrase.
>>In /some/ operating environments, it /may/ mean to "close or disconnect a communication s 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. ------
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 "conformanc e 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*****@bluegr ass.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 ] This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 1234, but each
instance binds to a different ip address.
that is to say:
instance #1 binds to 192.168.1.5/port 1234
instance #2 binds to...
|
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, cnhd46, cnhd47.
The new terminal server to use is called 'msp-t01'. The port
numbers that are of interest for the nodes mentioned above are
as...
|
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. However, I'm unsure of how
exactly I should be designing the program, I thought I could use
threading to start class:
class scanner(Thread):
def...
|
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 can I get the number of the dynamic port in the server (in server
code)? Using LocalEndPoint.Port just returns the original listener port
number.
...
|
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 to access a socket in a way fobidden by its access
permissions."
| |
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, uses the same
server port.
I assumed that a new connection will receive a unique port.
If this is the way its suppose to work, is it a performance...
|
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 three hours to three days, then
sometimes when I get a comms error and have to send out a nak character, it
fails hard...
The traceback below pops...
|
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 expecting my
connection on a certain port.
Specifically, I'm trying to write an FTP host, and I'm trying to
implement the PORT command. From...
|
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 am sending a short
message to a group of embedded boxes daisy chained via the serial port.
When I send a 'global' message, all the connected units...
|
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)
{
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |