Std socket socketstream write
std:std.socket.SocketStream.Write
Method Write:Int( buf:Void Ptr,count:Int )#
Method Write:Int( data:DataBuffer,offset:Int,count:Int )#
Writes data to the socket stream.
Writes count
bytes to the socket.
Returns the number of bytes actually written.
Can return less than count
if the socket has been closed by the peer or if an error occured.
Parameters | |
---|---|
buf |
buf The memory buffer to write data from. |
count |
count The number of bytes to write to the socket stream. |