Changes between Version 2 and Version 3 of NetworkEndpointsCowan


Ignore:
Timestamp:
10/30/13 14:40:21 (4 years ago)
Author:
cowan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NetworkEndpointsCowan

    v2 v3  
    2323`(make-network-endpoint `[''host'']` `[''network-port'']`)` 
    2424 
    25 Returns a newly allocated network endpoint.  If ''network-port'' is omitted or 0, then it is an error unless ''host'' refers to the local host, and the endpoint specifies an unused port to be assigned by the operating system.  If ''network-port'' is present but ''local-address'' is omitted or has the value `#t`, the endpoint specifies the given port on the local host accessed by any address.  Otherwise, the endpoint specifies a particular host and port.  If there is just one argument, it is ''network-port'', as this is the more common case. 
     25Returns a network endpoint, which may be newly allocated.  If ''network-port'' is omitted or 0, then it is an error unless ''host'' refers to the local host, and the endpoint specifies an unused port to be assigned by the operating system.  If ''network-port'' is present but ''local-address'' is omitted or has the value `#t`, the endpoint specifies the given port on the local host accessed by any address.  Otherwise, the endpoint specifies a particular host and port.  If there is just one argument, it is ''network-port'', as this is the more common case. 
    2626 
    2727`(network-endpoint? `''obj''`)` 
     
    4444 
    4545Returns the network port specified by ''endpoint'' as a number.  The value returned need not be the same as the value passed to `make-network-endpoint`, but must be acceptable to another invocation of `make-network-endpoint`. 
    46