HomeForumSourceResearchGuide
Sign in to contribute to source. how it works
Type definition file net.Stream by barry
expand copy to clipboardexpand
interface Stream {
	
	/*
	{"@description" : "Wait for n bytes of data to be received, or for the connection to be terminated."}
	*/
	byte[] recv(int n)
	
	/*
	{"@description" : "Send the given data on the stream; the return value is how many bytes have been successfully buffered by the protocol."}
	*/
	int send(byte dat[])
	
	}
Revision history
To propose a new revision to this entity, use dana source put -ut your/new/version.dn -n net.Stream -m "reason for update" -u yourUsername
Version 2 by barry
Version 1 (this version) by barry
Notes for this version: Standard Library Initialisation