Re: BBC TV 4 - Hawkwind: Do not panic



On 2007-04-01 18:11:33 +0100, real-address-in-sig@xxxxxxxxxxxxxxx (Rowland McDonnell) said:

Chris Ridd <chrisridd@xxxxxxx> wrote:

(Rowland McDonnell) said:

Jaimie Vandenbergh <jaimie@xxxxxxxxxxxxxxxxxxxxx> wrote:

Close enough, because that's all they are: an abstract addressing
system designed to get an incoming request to the correct application
to respond to it.

Well, yes, but how *exactly* is it all managed? You've explained some
of the missing info above - I'm getting it now.

Very simply - there's a list of "well known" ports that everyone
understands run particular services.

Umm. But that's how people look up which port to type in to their
program code. It doesn't explain how the OS and applications manage the
data transfer in practice, and that's what I'm trying to get my head
round.

Oh, that's straightforward too.

Server processes actively have to tell the OS they want to listen to the network on port such-and-such (also whether it is UDP or TCP etc). The OS therefore has a list of what addresses (remember Macs support multiple network interfaces with multiple addresses) and ports being listened to by particular processes, so when a patching packet comes in, it knows where to send it to.

The same procedure applies to client processes, except they say connect me to port such-and-such at address a.b.c.d, and the OS obliges.

How so? If you've got a computer with no Web server running on it
(i.e., not the normal server listening on socket 80), and you set up the
Telnet server to listen on socket 80, surely it should all `just work'
if you then tell your Telnet client to connect on socket 80?

Yes, that would certainly work.

Cheers,

Chris

.



Relevant Pages

  • RE: call is blocked in recvfrom() and no further proceedings in Win CE
    ... In windows CE, I'm able to send a request but I'm unable to receive it. ... Create another socket & bind with server IP address. ... > My program has to send request to service through port 5070(in this port only ...
    (microsoft.public.windowsce.embedded)
  • Re: RealVNC
    ... Default listening port for RealVNC server that runs on the machine on which ... Then there is default Java listening port on port 5800 on the client machine ...
    (microsoft.public.windows.server.sbs)
  • Re: trying to restrict postfix use of port [was trying to restrict exim smtp to specific IP]
    ... you do need to open port 25 "locally" and bind ... But opening a port "locally" does not mean your SMTP server can be used ... You need to be notified by e-mail (remote account) about crontab tasks. ... So, yes, the MTA is listening in that port and I cannot find any ...
    (Debian-User)
  • Re: RealVNC
    ... I use VNC behind server ... Default listening port for RealVNC server that runs on the machine ... And then "other"party - not the client can run RealVNC Viewer in ...
    (microsoft.public.windows.server.sbs)
  • RE: Cannot make either RWW or Remote Desktop Connection to server internally yet 3389 responds
    ... SBS server from internal and external network. ... Let us refer to the following steps to troubleshoot the issue: ... to listen on port 3389. ... How to change the listening port for Remote Desktop ...
    (microsoft.public.windows.server.sbs)