VaKeR CYBER ARMY
Logo of a company Server : Apache/2.4.41 (Ubuntu)
System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Directory :  /usr/share/doc/gnustep-base-doc/Base/Reference/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/doc/gnustep-base-doc/Base/Reference/NSPort.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

    <head>
    <title>NSPort class reference</title>
  </head>
  <body>
    <font face="serif">
    <a href="Base.html">Up</a>
    <br />
    <h1><a name="title$NSPort">NSPort class reference</a></h1>
    <h3>Authors</h3>
    <dl>
      <dt>Richard Frith-Macdonald (<a href="mailto:richard@brainstorm.co.uk"><code>richard@brainstorm.co.uk</code></a>)</dt>
      <dd>
      </dd>
      <dt>Andrew Kachites McCallum (<a href="mailto:mccallum@gnu.ai.mit.edu"><code>mccallum@gnu.ai.mit.edu</code></a>)</dt>
      <dd>
      </dd>
    </dl>
    <p><b>Copyright:</b> (C) 1997,2002 Free Software Foundation, Inc.</p>

        <div>
      <hr width="50%" align="left" />
      <h3>Contents -</h3>
      <ol>
        <li>
          <a href="#001000000000">Software documentation for the NSMessagePort class</a>
        </li>
        <li>
          <a href="#002000000000">Software documentation for the NSPort class</a>
        </li>
        <li>
          <a href="#003000000000">Software documentation for the NSSocketPort class</a>
        </li>
        <li>
          <a href="#004000000000">Software documentation for the
        NSObject(NSPortDelegateMethods)
        category</a>
        </li>
      </ol>
      <hr width="50%" align="left" />
    </div>

          <h1><a name="001000000000">
        Software documentation for the NSMessagePort class
      </a></h1>
    <h2><a name="class$NSMessagePort">NSMessagePort</a> : <a rel="gsdoc" href="#class$NSPort">NSPort</a></h2>
    <blockquote class="declared">
      <dl>
        <dt><b>Declared in:</b></dt>
        <dd>Foundation/NSPort.h</dd>
      </dl>
    </blockquote>
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
    <div class="desc">
      
          An
          <a rel="gsdoc" href="#class$NSPort">NSPort</a>

            implementation for network object
            communications which can be used for
            interthread/interprocess
            communications on the same host, but not
            between different hosts.
        
    </div>
    <hr width="50%" align="left" />
    <a href="#_NSMessagePort_ivars">Instance Variables</a>
    <br/><br/>
<a name="_NSMessagePort_ivars"/>    <br/><hr width="50%" align="left" />
    <h2>Instance Variables for NSMessagePort Class</h2>
    <h3><a name="ivariable$NSMessagePort*_internal">_internal</a></h3>
    @protected void* <b>_internal</b>;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
    <div class="desc">
      
            <em>Warning</em> the underscore at the start of the
            name of this instance variable indicates that, even
            though it is not technically <em>private</em>, it is
            intended for internal use within the package, and
            you should not use the variable in other code.
          
    </div>
    <hr width="25%" align="left" />
    <br/><hr width="50%" align="left" /><br/>

          <h1><a name="002000000000">
        Software documentation for the NSPort class
      </a></h1>
    <h2><a name="class$NSPort">NSPort</a> : <a rel="gsdoc" href="NSObject.html#class$NSObject">NSObject</a></h2>
    <blockquote class="declared">
      <dl>
        <dt><b>Declared in:</b></dt>
        <dd>Foundation/NSPort.h</dd>
      </dl>
    </blockquote>
    <blockquote>
      <dl>
        <dt><b>Conforms to:</b></dt>
        <dd><a rel="gsdoc" href="NSObject.html#protocol$(NSCoding)">NSCoding</a></dd>
        <dd><a rel="gsdoc" href="NSObject.html#protocol$(NSCopying)">NSCopying</a></dd>
      </dl>
    </blockquote>
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
          
    </p>
    <p>

            <code>NSPort</code> is an abstract class defining
            interfaces underlying communications in the
            distributed objects framework. Each side of a
            connection will have an <code>NSPort</code>
            object, responsible for sending and receiving
            <a rel="gsdoc" href="NSPortMessage.html#class$NSPortMessage">NSPortMessage</a>

              s, which are then passed to delegates when received.
              The <code>NSPort</code> must be added to the
              <a rel="gsdoc" href="NSRunLoop.html#class$NSRunLoop">NSRunLoop</a>

                as an input source.
                  </p>
    <p>
      
              
    </p>
    <p>

                This class also implements the functionality of
                the <code><em>NSMachPort</em></code> class on OS X.
                  </p>
    <p>
      
        
    </div>
    <hr width="50%" align="left" />
    <a href="#_NSPort_ivars">Instance Variables</a>
    <br/><br/>
    <b>Method summary</b>
    <ul>
      <li><a rel="gsdoc" href="NSPort.html#method$NSPort+port">+port</a></li>
      <li><a rel="gsdoc" href="NSPort.html#method$NSPort+portWithMachPort$">+portWithMachPort:</a></li>
      <li><a rel="gsdoc" href="NSPort.html#method$NSPort-addConnection$toRunLoop$forMode$">-addConnection:toRunLoop:forMode:</a></li>
      <li><a rel="gsdoc" href="NSPort.html#method$NSPort-delegate">-delegate</a></li>
      <li><a rel="gsdoc" href="NSPort.html#method$NSPort-init">-init</a></li>
      <li><a rel="gsdoc" href="NSPort.html#method$NSPort-initWithMachPort$">-initWithMachPort:</a></li>
      <li><a rel="gsdoc" href="NSPort.html#method$NSPort-invalidate">-invalidate</a></li>
      <li><a rel="gsdoc" href="NSPort.html#method$NSPort-isValid">-isValid</a></li>
      <li><a rel="gsdoc" href="NSPort.html#method$NSPort-machPort">-machPort</a></li>
      <li><a rel="gsdoc" href="NSPort.html#method$NSPort-removeConnection$fromRunLoop$forMode$">-removeConnection:fromRunLoop:forMode:</a></li>
      <li><a rel="gsdoc" href="NSPort.html#method$NSPort-reservedSpaceLength">-reservedSpaceLength</a></li>
      <li><a rel="gsdoc" href="NSPort.html#method$NSPort-sendBeforeDate$components$from$reserved$">-sendBeforeDate:components:from:reserved:</a></li>
      <li><a rel="gsdoc" href="NSPort.html#method$NSPort-sendBeforeDate$msgid$components$from$reserved$">-sendBeforeDate:msgid:components:from:reserved:</a></li>
      <li><a rel="gsdoc" href="NSPort.html#method$NSPort-setDelegate$">-setDelegate:</a></li>
    </ul>
    <hr width="50%" align="left" />
<div class="method">
    <h3><a name="method$NSPort+port">port&nbsp;</a></h3>
    + (<a rel="gsdoc" href="#class$NSPort">NSPort</a>*) <b>port</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Basic constructor returns object capable of send and
            receive. <br /> By default, the port returned is
            an instance of
            <a rel="gsdoc" href="#class$NSMessagePort">NSMessagePort</a>

              capable only of host-local communication.
              However, the <code>NSPortIsMessagePort</code>
              user default may be set to <code>NO</code> to change
              the behavior so that the returned value is an
              instance of the
              <a rel="gsdoc" href="#class$NSSocketPort">NSSocketPort</a>

                class.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSPort+portWithMachPort$">portWithMachPort:&nbsp;</a></h3>
    + (<a rel="gsdoc" href="#class$NSPort">NSPort</a>*) <b>portWithMachPort:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSInteger">NSInteger</a>)machPort;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            NSMachPort compatibility method.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSPort-addConnection$toRunLoop$forMode$">addConnection:&nbsp;toRunLoop:&nbsp;forMode:&nbsp;</a></h3>
    - (void) <b>addConnection:</b> (<a rel="gsdoc" href="NSConnection.html#class$NSConnection">NSConnection</a>*)aConnection<b> toRunLoop:</b> (<a rel="gsdoc" href="NSRunLoop.html#class$NSRunLoop">NSRunLoop</a>*)aLoop<b> forMode:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)aMode;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
    <div class="desc">
      
            Adds to run loop as input source to be notified for
            input in given mode. This method is for use by
            subclasses.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSPort-delegate">delegate&nbsp;</a></h3>
    - (id) <b>delegate</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Returns the object that received messages will be
            passed off to.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSPort-init">init&nbsp;</a></h3>
    - (id) <b>init</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Basic initializer sets up object capable of send and
            receive. See
            <a rel="gsdoc" href="#method$NSPort+port">
              +port
            </a>

            for more details.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSPort-initWithMachPort$">initWithMachPort:&nbsp;</a></h3>
    - (id) <b>initWithMachPort:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSInteger">NSInteger</a>)machPort;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            NSMachPort compatibility method.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSPort-invalidate">invalidate&nbsp;</a></h3>
    - (void) <b>invalidate</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Mark port as invalid, deregister with listeners and
            cease further network operations. Subclasses should
            override and call super.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSPort-isValid">isValid&nbsp;</a></h3>
    - (BOOL) <b>isValid</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Returns whether port has been marked invalid.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSPort-machPort">machPort&nbsp;</a></h3>
    - (<a rel="gsdoc" href="TypesAndConstants.html#type$NSInteger">NSInteger</a>) <b>machPort</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            NSMachPort compatibility.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSPort-removeConnection$fromRunLoop$forMode$">removeConnection:&nbsp;fromRunLoop:&nbsp;forMode:&nbsp;</a></h3>
    - (void) <b>removeConnection:</b> (<a rel="gsdoc" href="NSConnection.html#class$NSConnection">NSConnection</a>*)aConnection<b> fromRunLoop:</b> (<a rel="gsdoc" href="NSRunLoop.html#class$NSRunLoop">NSRunLoop</a>*)aLoop<b> forMode:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)aMode;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
    <div class="desc">
      
            Removes from run loop as input source to be
            notified for input in given mode. This method is
            for use by subclasses.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSPort-reservedSpaceLength">reservedSpaceLength&nbsp;</a></h3>
    - (<a rel="gsdoc" href="TypesAndConstants.html#type$NSUInteger">NSUInteger</a>) <b>reservedSpaceLength</b>;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
    <div class="desc">
      
            Returns amount of space used for header info at
            beginning of messages. Subclasses should override
            (this implementation returns 0).
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSPort-sendBeforeDate$components$from$reserved$">sendBeforeDate:&nbsp;components:&nbsp;from:&nbsp;reserved:&nbsp;</a></h3>
    - (BOOL) <b>sendBeforeDate:</b> (<a rel="gsdoc" href="NSDate.html#class$NSDate">NSDate</a>*)when<b> components:</b> (<a rel="gsdoc" href="NSArray.html#class$NSMutableArray">NSMutableArray</a>*)components<b> from:</b> (<a rel="gsdoc" href="#class$NSPort">NSPort</a>*)receivingPort<b> reserved:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSUInteger">NSUInteger</a>)length;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
    <div class="desc">
      
            Internal method for sending message, for use by
            subclasses.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSPort-sendBeforeDate$msgid$components$from$reserved$">sendBeforeDate:&nbsp;msgid:&nbsp;components:&nbsp;from:&nbsp;reserved:&nbsp;</a></h3>
    - (BOOL) <b>sendBeforeDate:</b> (<a rel="gsdoc" href="NSDate.html#class$NSDate">NSDate</a>*)when<b> msgid:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSInteger">NSInteger</a>)msgid<b> components:</b> (<a rel="gsdoc" href="NSArray.html#class$NSMutableArray">NSMutableArray</a>*)components<b> from:</b> (<a rel="gsdoc" href="#class$NSPort">NSPort</a>*)receivingPort<b> reserved:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSUInteger">NSUInteger</a>)length;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
    <div class="desc">
      
            Internal method for sending message, for use by
            subclasses.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSPort-setDelegate$">setDelegate:&nbsp;</a></h3>
    - (void) <b>setDelegate:</b> (id)anObject;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Sets the object that received messages will be passed
            off to.
          
    </div>
    <hr width="25%" align="left" />
</div>
<a name="_NSPort_ivars"/>    <br/><hr width="50%" align="left" />
    <h2>Instance Variables for NSPort Class</h2>
    <h3><a name="ivariable$NSPort*_delegate">_delegate</a></h3>
    @protected id <b>_delegate</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            <em>Warning</em> the underscore at the start of the
            name of this instance variable indicates that, even
            though it is not technically <em>private</em>, it is
            intended for internal use within the package, and
            you should not use the variable in other code.
          
    </div>
    <hr width="25%" align="left" />
    <h3><a name="ivariable$NSPort*_is_valid">_is_valid</a></h3>
    @protected BOOL <b>_is_valid</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            <em>Warning</em> the underscore at the start of the
            name of this instance variable indicates that, even
            though it is not technically <em>private</em>, it is
            intended for internal use within the package, and
            you should not use the variable in other code.
          
    </div>
    <hr width="25%" align="left" />
    <br/><hr width="50%" align="left" /><br/>

          <h1><a name="003000000000">
        Software documentation for the NSSocketPort class
      </a></h1>
    <h2><a name="class$NSSocketPort">NSSocketPort</a> : <a rel="gsdoc" href="#class$NSPort">NSPort</a></h2>
    <blockquote class="declared">
      <dl>
        <dt><b>Declared in:</b></dt>
        <dd>Foundation/NSPort.h</dd>
      </dl>
    </blockquote>
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
    <div class="desc">
      
          
    </p>
    <p>

            An
            <a rel="gsdoc" href="#class$NSPort">NSPort</a>

              implementation for network object
              communications based on BSD sockets. Can
              be used for interthread/interprocess communications
              between same or different hosts (though on same
              host
              <a rel="gsdoc" href="#class$NSMessagePort">NSMessagePort</a>

                will be more efficient).
                  </p>
    <p>
      
              
    </p>
    <p>

                Note that this class is incompatible with the
                latest OS X version.
                  </p>
    <p>
      
        
    </div>
    <hr width="50%" align="left" />
    <a href="#_NSSocketPort_ivars">Instance Variables</a>
    <br/><br/>
    <b>Method summary</b>
    <ul>
      <li><a rel="gsdoc" href="NSPort.html#method$NSSocketPort+existingPortWithNumber$onHost$">+existingPortWithNumber:onHost:</a></li>
      <li><a rel="gsdoc" href="NSPort.html#method$NSSocketPort+portWithNumber$onHost$forceAddress$listener$">+portWithNumber:onHost:forceAddress:listener:</a></li>
      <li><a rel="gsdoc" href="NSPort.html#method$NSSocketPort-address">-address</a></li>
      <li><a rel="gsdoc" href="NSPort.html#method$NSSocketPort-getFds$count$">-getFds:count:</a></li>
      <li><a rel="gsdoc" href="NSPort.html#method$NSSocketPort-handlePortMessage$">-handlePortMessage:</a></li>
      <li><a rel="gsdoc" href="NSPort.html#method$NSSocketPort-host">-host</a></li>
      <li><a rel="gsdoc" href="NSPort.html#method$NSSocketPort-portNumber">-portNumber</a></li>
    </ul>
    <hr width="50%" align="left" />
<div class="method">
    <h3><a name="method$NSSocketPort+existingPortWithNumber$onHost$">existingPortWithNumber:&nbsp;onHost:&nbsp;</a></h3>
    + (<a rel="gsdoc" href="#class$NSSocketPort">NSSocketPort</a>*) <b>existingPortWithNumber:</b> (uint16_t)number<b> onHost:</b> (<a rel="gsdoc" href="NSHost.html#class$NSHost">NSHost</a>*)aHost;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
    <div class="desc">
      
            Look up and return an existing
            <code>NSSocketPort</code> given a host and
            <var>number</var>, or return <code>nil</code> if one
            has not been created.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSSocketPort+portWithNumber$onHost$forceAddress$listener$">portWithNumber:&nbsp;onHost:&nbsp;forceAddress:&nbsp;listener:&nbsp;</a></h3>
    + (<a rel="gsdoc" href="#class$NSSocketPort">NSSocketPort</a>*) <b>portWithNumber:</b> (uint16_t)number<b> onHost:</b> (<a rel="gsdoc" href="NSHost.html#class$NSHost">NSHost</a>*)aHost<b> forceAddress:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)addr<b> listener:</b> (BOOL)shouldListen;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
    <div class="desc">
      
            This is the preferred initialisation method for
            <code>NSSocketPort</code>. <br /> <var>number</var>
            should be a TCP/IP port <var>number</var> or may be
            zero for a port on the local host. <br />
            <var>aHost</var> should be the host for the port or
            may be <code>nil</code> for the local host. <br />
            <var>addr</var> is the IP address that MUST be used
            for this port - if it is <code>nil</code> then, for the
            local host, the port uses ALL IP addresses, and for a
            remote host, the port will use the first address
            that works. <br /> <var>shouldListen</var> specifies
            whether to listen on the port initially.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSSocketPort-address">address&nbsp;</a></h3>
    - (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*) <b>address</b>;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
    <div class="desc">
      
            Returns IP address of underlying socket.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSSocketPort-getFds$count$">getFds:&nbsp;count:&nbsp;</a></h3>
    - (void) <b>getFds:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSInteger">NSInteger</a>*)fds<b> count:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSInteger">NSInteger</a>*)count;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
    <div class="desc">
      
            This is a callback method used by the NSRunLoop class
            to determine which descriptors to watch for the port.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSSocketPort-handlePortMessage$">handlePortMessage:&nbsp;</a></h3>
    - (void) <b>handlePortMessage:</b> (<a rel="gsdoc" href="NSPortMessage.html#class$NSPortMessage">NSPortMessage</a>*)m;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
    <div class="desc">
      
            Delegates processing of a message.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSSocketPort-host">host&nbsp;</a></h3>
    - (<a rel="gsdoc" href="NSHost.html#class$NSHost">NSHost</a>*) <b>host</b>;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
    <div class="desc">
      
            Returns host that the underlying socket is
            connected to.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSSocketPort-portNumber">portNumber&nbsp;</a></h3>
    - (uint16_t) <b>portNumber</b>;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
    <div class="desc">
      
            Returns port number of underlying socket.
          
    </div>
    <hr width="25%" align="left" />
</div>
<a name="_NSSocketPort_ivars"/>    <br/><hr width="50%" align="left" />
    <h2>Instance Variables for NSSocketPort Class</h2>
    <h3><a name="ivariable$NSSocketPort*address">address</a></h3>
    @protected NSString* <b>address</b>;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
    <div class="desc">
      
            <em>Description forthcoming.</em>
          
    </div>
    <hr width="25%" align="left" />
    <h3><a name="ivariable$NSSocketPort*eventListener">eventListener</a></h3>
    @protected WSAEVENT <b>eventListener</b>;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
    <div class="desc">
      
            <em>Description forthcoming.</em>
          
    </div>
    <hr width="25%" align="left" />
    <h3><a name="ivariable$NSSocketPort*events">events</a></h3>
    @protected NSMapTable* <b>events</b>;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
    <div class="desc">
      
            <em>Description forthcoming.</em>
          
    </div>
    <hr width="25%" align="left" />
    <h3><a name="ivariable$NSSocketPort*handles">handles</a></h3>
    @protected NSMapTable* <b>handles</b>;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
    <div class="desc">
      
            <em>Description forthcoming.</em>
          
    </div>
    <hr width="25%" align="left" />
    <h3><a name="ivariable$NSSocketPort*host">host</a></h3>
    @protected NSHost* <b>host</b>;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
    <div class="desc">
      
            <em>Description forthcoming.</em>
          
    </div>
    <hr width="25%" align="left" />
    <h3><a name="ivariable$NSSocketPort*listener">listener</a></h3>
    @protected SOCKET <b>listener</b>;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
    <div class="desc">
      
            <em>Description forthcoming.</em>
          
    </div>
    <hr width="25%" align="left" />
    <h3><a name="ivariable$NSSocketPort*myLock">myLock</a></h3>
    @protected NSRecursiveLock* <b>myLock</b>;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
    <div class="desc">
      
            <em>Description forthcoming.</em>
          
    </div>
    <hr width="25%" align="left" />
    <h3><a name="ivariable$NSSocketPort*portNum">portNum</a></h3>
    @protected uint16_t <b>portNum</b>;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
    <div class="desc">
      
            <em>Description forthcoming.</em>
          
    </div>
    <hr width="25%" align="left" />
    <br/><hr width="50%" align="left" /><br/>

          <h1><a name="004000000000">
        Software documentation for the
        NSObject(NSPortDelegateMethods)
        category
      </a></h1>
    <h2><a rel="gsdoc" href="NSObject.html#class$NSObject">NSObject</a>(<a name="category$NSObject(NSPortDelegateMethods)">NSPortDelegateMethods</a>)</h2>
    <blockquote class="declared">
      <dl>
        <dt><b>Declared in:</b></dt>
        <dd>Foundation/NSPort.h</dd>
      </dl>
    </blockquote>
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
          <em>Description forthcoming.</em>
        
    </div>
    <b>Method summary</b>
    <ul>
      <li><a rel="gsdoc" href="NSPort.html#method$NSObject(NSPortDelegateMethods)-handlePortMessage$">-handlePortMessage:</a></li>
    </ul>
    <hr width="50%" align="left" />
<div class="method">
    <h3><a name="method$NSObject(NSPortDelegateMethods)-handlePortMessage$">handlePortMessage:&nbsp;</a></h3>
    - (void) <b>handlePortMessage:</b> (<a rel="gsdoc" href="NSPortMessage.html#class$NSPortMessage">NSPortMessage</a>*)aMessage;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
An empty method provided for subclasses to override.<br />
    <div class="desc">
      
            Subclasses of NSPort send this message to their
            delegate on receipt of a port message.
          
    </div>
    <hr width="25%" align="left" />
</div>
    <br />
    <a href="Base.html">Up</a>
    </font>
</body>
</html>

VaKeR 2022