Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Peeks from socket and returns them hex encoded.

Component Version macOS Windows Linux Server iOS SDK
Socket 4.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Socket.PeekAllHex"; SocketID )   More


Parameter Description Example
SocketID The socket ID received by Socket.Connect function. $sock


Returns text encoded as hex or error message.


Peeks from socket and returns them hex encoded.
This function will look how much is in read buffer and query all bytes inside.


Read all bytes and return them as:

$value = MBS( "Socket.ReadAllHex"; $port )

See also

Blog Entries

This function is free to use.

Created 11st September 2014, last changed 11st September 2014

Socket.PeekAll - Socket.PeekHex

💬 Ask a question or report a problem