Cronous Emulation Server Daemon

TCPSocket.receive Method (Byte[], Int32)

Receives a piece of data.

[Visual Basic]
Public Sub receive( _ 
   ByVal buf As Byte(), _ 
   ByVal size As Integer _ 
)
[C#]
public void receive(
   byte[] buf,
   int size
);
[C++]
public: void receive(
   char buf __gc[],
   int size
);
[JScript]
public function receive(
   Byte[] buf,
   int size
);

Parameters

buf
Buffer to store data.
size
Amount of data to retrieve. Must not exceed data_available.

See Also

TCPSocket Class | croemud.connection Namespace | TCPSocket.receive Overload List