hypermedia.net index |
||||
Name | setBuffer ( ) | |||
Examples | None available | |||
Description | Set the maximum size of the packet that can be sent or receive on the
current socket. This value must be greater than 0, otherwise the buffer
size is set to the his default value.
return note : this method has no effect if the socket is listening. To define a new buffer size, call this method before implementing a new buffer in memory. Explicitly before calling a receive methods. |
|||
Syntax | setBuffer(size); |
|||
Parameters |
|
|||
Returns | boolean | |||
Usage | Web & Application | |||
Related | ||||