Send byte list over TCP/IP Socket

I wanted to know if there is a way to send a list of bytes over a TCP socket, similar to the socket_read_byte_list function.

Please let me know if more information is required.