software and hardware ports
Posted: Thu Apr 19, 2012 4:02 am
Hello everyone!
I've got a question which maybe not fit to this forum but I never found a forum as this and therefore
I've decided to ask.
My question is about Ports.
I do not know so such about networking there to apologize me if that was a silly question.
Firstly hardware ports are used to communicate to peripherical devices like printer or mouse and so on.
So is that true when communicate with a printer you are responding an adress on your memory, which we call
port. So the printer gets a signal that there is something to printout.
Where do I get the port number of the printer?
How does I signal to printer or is the printer always listening?
And where does the printer gets data should there be something like shared object?
Now I have questions about software ports.
If you want to receive data of a webpage you are connected over a TCP/UDP or whatever to the server.
You send your IP-address and other relevant information about you to receive the data you want.
I want for example to receive data from (216.239.51.99) and binding to port 80.
So what should I give in the parcel to get data on my PC, I've to include a port number like the protocol needs.
Can I give any virtual port of my computer. How do I get a free port from my PC?
Please help me I'm so confused
thanks
I've got a question which maybe not fit to this forum but I never found a forum as this and therefore
I've decided to ask.
My question is about Ports.
I do not know so such about networking there to apologize me if that was a silly question.
Firstly hardware ports are used to communicate to peripherical devices like printer or mouse and so on.
So is that true when communicate with a printer you are responding an adress on your memory, which we call
port. So the printer gets a signal that there is something to printout.
Where do I get the port number of the printer?
How does I signal to printer or is the printer always listening?
And where does the printer gets data should there be something like shared object?
Now I have questions about software ports.
If you want to receive data of a webpage you are connected over a TCP/UDP or whatever to the server.
You send your IP-address and other relevant information about you to receive the data you want.
I want for example to receive data from (216.239.51.99) and binding to port 80.
So what should I give in the parcel to get data on my PC, I've to include a port number like the protocol needs.
Can I give any virtual port of my computer. How do I get a free port from my PC?
Please help me I'm so confused
thanks