Home > comp > gb.net > socket > peek 
  [3.0]
 fr de es it nl pl pt pt_BR mk sq ca ar fa vi ja ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Refresh  Search  Administration  
Documentation
History
 
Socket.Peek (gb.net)
Syntax
FUNCTION Peek ( ) AS String
This function allows you to receive data from Socket.

It must be used only when a connection is active (Status = Net.Connected) , otherwise an error will raise.

The string will not be erased from the socket buffer, so the next time you receive data, you will receive the same string plus new data arrived to the socket, if any.