<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Bind in Client Process in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/bind-in-client-process/m-p/3034976#M905830</link>
    <description>Steven,&lt;BR /&gt;i dont think it is about BIND (named) :)&lt;BR /&gt;&lt;BR /&gt;Alfonso,&lt;BR /&gt;If the server is listening on the some port, client should connect to this port. Client side port number depends on system, it is always &amp;gt;1024.&lt;BR /&gt;Example:&lt;BR /&gt;serwer is listening on port 80. Client is connecting to this port from the other machine - and the client's port is - for example - 23456 (it it first free port on clients system, i think).</description>
    <pubDate>Mon, 28 Jul 2003 14:32:57 GMT</pubDate>
    <dc:creator>Tomek Gryszkiewicz</dc:creator>
    <dc:date>2003-07-28T14:32:57Z</dc:date>
    <item>
      <title>Bind in Client Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bind-in-client-process/m-p/3034974#M905828</link>
      <description>Good Morning:&lt;BR /&gt;Usually, in Socket (Stream Connection) the instruction BIND is used for assign the Listening Port for a Server Process. Can I use Bind also for the Client Process: I means, The client process always uses the same port for connect to the server?&lt;BR /&gt;Thanks in advance for the guide.</description>
      <pubDate>Mon, 28 Jul 2003 12:59:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bind-in-client-process/m-p/3034974#M905828</guid>
      <dc:creator>Alfonso_15</dc:creator>
      <dc:date>2003-07-28T12:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: Bind in Client Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bind-in-client-process/m-p/3034975#M905829</link>
      <description>BIND uses port 53 be default.&lt;BR /&gt;&lt;BR /&gt;As with anything else this can be changed.&lt;BR /&gt;&lt;BR /&gt;If you have a firewall blocking port 53 between your server and your client, it won't be able to connect.&lt;BR /&gt;&lt;BR /&gt;You can check the /etc/service table for possible conflicts or problems.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 28 Jul 2003 13:04:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bind-in-client-process/m-p/3034975#M905829</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-07-28T13:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: Bind in Client Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bind-in-client-process/m-p/3034976#M905830</link>
      <description>Steven,&lt;BR /&gt;i dont think it is about BIND (named) :)&lt;BR /&gt;&lt;BR /&gt;Alfonso,&lt;BR /&gt;If the server is listening on the some port, client should connect to this port. Client side port number depends on system, it is always &amp;gt;1024.&lt;BR /&gt;Example:&lt;BR /&gt;serwer is listening on port 80. Client is connecting to this port from the other machine - and the client's port is - for example - 23456 (it it first free port on clients system, i think).</description>
      <pubDate>Mon, 28 Jul 2003 14:32:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bind-in-client-process/m-p/3034976#M905830</guid>
      <dc:creator>Tomek Gryszkiewicz</dc:creator>
      <dc:date>2003-07-28T14:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: Bind in Client Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bind-in-client-process/m-p/3034977#M905831</link>
      <description>Tomek. Thanks. Is rigth what you say. My question is if I can force my clien process for connect with the server using always the port 23456 , like in the server side I fix port 80 for always listen the request. &lt;BR /&gt;Thanks again for any guide.</description>
      <pubDate>Mon, 28 Jul 2003 15:32:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bind-in-client-process/m-p/3034977#M905831</guid>
      <dc:creator>Alfonso_15</dc:creator>
      <dc:date>2003-07-28T15:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Bind in Client Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bind-in-client-process/m-p/3034978#M905832</link>
      <description>No, you cannot. Client's ports depends on system. BTW - What for? I cannot see the reason to set client's port permanently...</description>
      <pubDate>Tue, 29 Jul 2003 08:59:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bind-in-client-process/m-p/3034978#M905832</guid>
      <dc:creator>Tomek Gryszkiewicz</dc:creator>
      <dc:date>2003-07-29T08:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: Bind in Client Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bind-in-client-process/m-p/3034979#M905833</link>
      <description>Yes, this is possible - lots of apps out there do it because it makes firewall configuration easier (Openview Operations for example).&lt;BR /&gt;&lt;BR /&gt;However, if you always use the same port you'll only be able to have one client connection from each host.  If you attempt a second connection while the first is still established, you'll receive an EADDRINUSE error from the connect() system call.  If you need more than one connection you will need to make a range of ports available, and continue calling bind() for each port in the range until one succeeds.&lt;BR /&gt;&lt;BR /&gt;Also be careful of TIME_WAIT sockets - these can also prevent the connection from succeeding.  Make sure you set the SO_REUSEADDR socket option with setsockopt() before issuing the bind() call.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Steve</description>
      <pubDate>Tue, 29 Jul 2003 11:05:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bind-in-client-process/m-p/3034979#M905833</guid>
      <dc:creator>Steven Gillard_2</dc:creator>
      <dc:date>2003-07-29T11:05:03Z</dc:date>
    </item>
  </channel>
</rss>

