The getHostByAddr: operation returns an instance of
SciHostEnt which is a representation of the
hostEnt structure for the specified address retrieved from the platform.
The getHostByAddr: operation is unsuccessful if any of the following errors occur: ENOTINITIALISED, ENETDOWN, EINTR, ENODATA, EHOSTNOTFOUND. For detailed information on these errors, see
Error values.
The getHostByName: operation is unsuccessful if any of the following errors occur: ENOTINITIALISED, ENETDOWN, EINTR, ENODATA, EHOSTNOTFOUND. For detailed information on these errors, see
Error values.
The getHostName operation returns a String retrieved from the platform that contains the standard host name for the local machine.
The getHostName operation is unsuccessful if any of the following errors occur: ENOTINITIALISED, ENETDOWN, EFAULT. For detailed information on these errors, see
Error values.
The getProtoByName: operation returns an instance of
SciProtoEnt which represents the
protoent structure returned by the platform. This structure contains the official name of the protocol, the alternate names of the protocol and the protocol number.
The getProtoByName: operation is unsuccessful if any of the following errors occur: ENOTINITIALISED, ENETDOWN, EINTR, ENODATA. For detailed information on these errors, see
Error values.
The getProtoByNumber: operation returns an instance of
SciProtoEnt which represents the
protoent structure returned by the platform. This structure contains the official name of the protocol, the alternate names of the protocol and the protocol number.
The getProtoByNumber: operation is unsuccessful if any of the following errors occur: ENOTINITIALISED, ENETDOWN, EINTR, ENODATA. For detailed information on these errors, see
Error values.
The getServByName: operation returns an instance of
SciServEnt which represents the
servent structure returned by the platform. This structure contains the official name of the service, the alternate names of the service, the port number at which the service is located and the name of the protocol to use with the service.
The getServByName: operation is unsuccessful if any of the following errors occur: ENOTINITIALISED, ENETDOWN, EINTR, ENODATA. For detailed information on these errors, see
Error values.
The getServByPort: operation returns an instance of
SciServEnt which represents the
servent structure returned by the platform. This structure contains the official name of the service, the alternate names of the service, the port number at which the service is located and the name of the protocol to use with the service.
The getServByPort: operation is unsuccessful if any of the following errors occur: ENOTINITIALISED, ENETDOWN, EINTR, ENODATA. For detailed information on these errors, see
Error values.
The ping:at: operation is a TCP ping utility. It can also be invoked via the String>>sciPing method as in the following example...
Answers a SciResult that contain socket collections (
orderedCollections) that are ready for attention.
The select operation examines the sockets in the
readCollection,
writeCollection, and
exceptionCollection to see if any of these sockets are ready for reading, ready for writing, or have an exception condition pending respectively.
The readCollection,
writeCollection, and
exceptionCollection can be any ordered collection. This method answers a
SciResult, which can be queried for the resulting ordered collections with the selectors
readCollection,
writeCollection, and
exceptionCollection.
The selectRead: operation is unsucessful if any of the following errors occur: ENOTINITIALISED, ENETDOWN, EBADF, ENOTSOCK, EINTR, EINVAL, EINPROGRESS. For detailed information on these errors, see
Error values.
socketpair: type
Copyright 2005, 2020 Instantiations, Inc. All rights reserved.