There is a [function](https://github.com/ufo-kit/concert/blob/master/concert/networking.py#L53-62) for sending and receiving data over sockets.