home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / database / informix / 1813 < prev    next >
Encoding:
Text File  |  1992-08-27  |  1.9 KB  |  43 lines

  1. Newsgroups: comp.databases.informix
  2. Path: sparky!uunet!ddssuprs!lpc
  3. From: lpc@dickens.com (Luis P Caamano)
  4. Subject: Re: Informix I-Net problem
  5. Message-ID: <1992Aug27.174405.16906@dickens.com>
  6. Date: Thu, 27 Aug 1992 17:44:05 GMT
  7. References: <memo.594498@cix.compulink.co.uk>
  8. Organization: Dickens Data Systems, Inc.
  9. Lines: 32
  10.  
  11. In article <memo.594498@cix.compulink.co.uk> shemminga@cix.compulink.co.uk writes:
  12. >
  13. >This may seem like a dumb question but I understand the entry that is
  14. >made in /etc/services is to allow tcp/ip to make connections. Would
  15. >having more than one entry mean that I could have more connections?
  16. >
  17.  
  18. No. /etc/services only maps a service name to a well known port
  19. number that is needed to make the connection.
  20.  
  21. When making a connection to a server, the client must specify the
  22. port number to TCP so it knows to which process (server) it should
  23. give the packets to.  Instead of coding the number in the code, the
  24. client finds out what number to use at runtime.  You can change the 
  25. port number as long as it is the same on the server and client machines.
  26.  
  27. This is necessary to avoid port number conflicts, e.g. Informix decides
  28. to use port number xxxx for Inet and then you install I-Net on a
  29. machine that has another application using the same port number. 
  30. Obviously, it won't work.
  31.  
  32. For more info on port numbers and /etc/services consult the Unix
  33. networking bible, R.Stevens's "Unix Network Programming."
  34.  
  35. -- 
  36. ---------------------------------------------------------------------------
  37. Luis P. Caamano                    |         lpc@dickens.com
  38. Dickens Data Systems, Inc.         |         uunet!dickens.com!lpc
  39. Atlanta, GA                        |         (404) 475-8860
  40. ---------------------------------------------------------------------------
  41. If I think I know it all, I'll stop learning. -myself
  42. The more I learn, the more I know I know nothing. -somebody else
  43.