obspy.clients.seedlink.client.seedlinkconnection.SeedLinkConnection.receive_data
- SeedLinkConnection.receive_data(maxbytes, code)[source]
Read bytes from the server.
- Parameters:
maxbytes – maximum number of bytes to read.
code – a string to include in error messages for identification.
- Returns:
the response bytes (zero length if no available data), or null if EOF.
- Raises:
IOError – if an I/O error occurs.