Hi jumbie
Regardless of whether you are referring to the TCP or UDP protocols,
there is nothing special about port 5193. However your question seems
to be a little bit confused.
When you start a server process using TCP or UDP, it *listens* on a
particular port. That is to say, it will wait for something to send a
message to that port, at which point it will (hopefully) understand
the message and do something useful, which may well involve sending a
message back to the computer that initiated the connection.
A client connection, however, is simply told the numnber of the port
to connect *to* (and, of course, the machine to contact). It isn't
possible to specify which outbound port to use on the client, you
merely specify which port to connect to at the destination end.
Hence it is certainly possible for a server on a machine to listen on
port 5193, and for a client on the same machine to connect to that
server. In fact this is what the special IP address 127.0.0.1 (usually
aliased as 'localhost') is for. The process is identical to contacting
any other server process running directly on your machine.
Some useful links giving more information:
An introduction to internet protocols:
http://oac3.hsc.uth.tmc.edu/staff/snewton/tcp-tutorial/
A general overview of client-server programming with sockets:
http://www.catalyst.com/support/tutorials/tcpintro/page8.html
Technical, but they're the ultimate authorities:
Internet Standard 0006 / Request For Comments 0768 : UDP
http://www.faqs.org/rfcs/rfc768.html
Internet Standard 0007 / Request For Comments 0793 : TCP
http://www.faqs.org/rfcs/rfc793.html
Regards
iaint-ga
Search queries used:
At http://www.faqs.org/
"transmission control protocol" and "user datagram protocol"
On Google
introduction sockets client server |