Public Instance Methods : SstTcpConfiguration
defaultPort
"ACTION
Answer the defaultPort of the configuration object. If 0 then a new
port will be assigned by the system.
RETURN VALUE
<Integer>"
Categories
SST-API Developer
defaultPort: port
"ACTION
Set the defaultPort of the configuration object. If 0 then a new
port will be assigned by the system.
PARAMETERS
port : <Integer>"
Categories
SST-API Developer
keepAlive
"ACTION
Answer the %keepAlive attribute. See the description for #keepAlive: as to
the meaning of the possible return values.
RETURN VALUE
<Boolean> | nil"
Categories
SST-API Developer
keepAlive: value
"ACTION
If @value is true then SOKEEPALIVE will be applied to all sockets in the
transport. If false if it won't. If nil then the sockets will keep their current
SOKEEPALIVE settings.
PARAMETERS
value : <Boolean> | nil"
Categories
SST-API Developer
listenBacklog
"ACTION
Answer the configured value for %listenBacklog. See the comment
for #listenBacklog: for more information.
RETURN VALUE
<Integer>"
Categories
SST-API Developer
listenBacklog: value
"ACTION
Set the listen backlog to @value. In TCP terms, this is the argument to
listen(2), the number of incoming connections to be queued pending being
accepted. Its value is meaningless if %allowIncomingConnections is
false. See a TCP reference for more details.
PARAMETERS
value : <Integer>"
Categories
SST-API Developer
noDelay
"ACTION
Answer the %noDelay attribute. See the description for #noDelay: as to
the meaning of the possible return values.
RETURN VALUE
value : <Boolean> | nil"
Categories
SST-API Developer
noDelay: value
"ACTION
If @value is true then cause TCPNODELAY to be applied to all sockets
in the transport. If false, then don't. If nil, then the sockets will keep their
current TCPNODELAY settings.
Setting %noDelay can improve TCP efficiency when dealing with many
small packets. Consult other references (such as 'Unix Network
Programming', 'The Sockets FAQ', or 'TCP/IP Illustrated, Volume 1')
for more details.
PARAMETERS
value : <Boolean> | nil"
Categories
SST-API Developer
nonBlocking
"ACTION
Answer the %nonBlocking attribute. See the description for
#nonBlocking: as to the meaning of the possible values.
RETURN VALUE
<Boolean> | nil"
Categories
SST-API Developer
nonBlocking: value
"ACTION
If @value is true then cause all sockets in the transport to be non-blocking
(by setting FIONBIO). If false, then all sockets will be made blocking. If nil, then
the sockets will keep their current settings.
Making the sockets %nonBlocking can exploit SCI more efficiently, providing
only small data amounts are being sent and received, usually <= 2K. For data
sizes greater than 2K, performance may be better with %nonBlocking set to
false.
PARAMETERS
value : <Boolean> | nil"
Categories
SST-API Developer
receiveBufferSize
"ACTION
Answer the %receiveBufferSize attribute. See the description for
#receiveBufferSize: as to the meaning of the possibl values.
RETURN VALUE
<Integer> | nil"
Categories
SST-API Developer
receiveBufferSize: value
"ACTION
Set the size for receive buffers to be applied to all sockets in the transport.
If nil, then the sockets will keep their current settings.
PARAMETERS
value : <Integer> | nil"
Categories
SST-API Developer
reuseAddress
"ACTION
Answer the %reuseAddress attribute. See the description for
#reuseAddress: as to the meaning of the possibl values.
RETURN VALUE
<Boolean> | nil"
Categories
SST-API Developer
reuseAddress: value
"ACTION
If @value is true then cause SOREUSEADDR to be applied when binding
the listening socket.. If false, then don't. If nil, then keep the current
SOREUSEADDR setting.
PARAMETERS
value : <Boolean> | nil"
Categories
SST-API Developer
sendBufferSize
"ACTION
Answer the %sendBufferSize attribute. See the description for
#sendBufferSize: as to the meaning of the possibl values.
RETURN VALUE
<Boolean> | nil"
Categories
SST-API Developer
sendBufferSize: value
"ACTION
Set the size for send buffers to be applied to all sockets in the transport.
If nil, then the sockets will keep their current settings.
PARAMETERS
value : <Integer> | nil"
Categories
SST-API Developer
[FIRST] [PREV] [NEXT] [LAST]