  RECEIVE

   RECEIVE <var> FROM <handle> [CHUNK <size> [SIZE <amount>]]

   Type: statement

   変数またはメモリの領域に <handle> のネットからデータを読みます。
   CHUNK <size> で読み込み量を指定する事ができます。
   指定がない場合はバッファが空になるまで、データを読みます。

   実際に受信する量は SIZE <amount> で設定します。 If the amount of bytes received is 0, then the other side has closed the connection in an orderly fashion. In such a situation the network connection needs to be reopened.
   例:

   OPEN "www.google.com:80" FOR NETWORK AS mynet
   SEND "GET / HTTP/1.1\r\nHost: www.google.com\r\n\r\n" TO mynet
   REPEAT
       RECEIVE dat$ FROM mynet
       total$ = CONCAT$(total$, dat$)
   UNTIL ISFALSE(WAIT(mynet, 500))
   CLOSE NETWORK mynet

