Name: Anonymous 2014-02-15 7:27
what's the best practice for out of band communication over sockets
should you make another meta socket
or embed the out of band information into the main socket
a possible use case would be, someone is downloading a 1GB file
but after 30 minutes the client needs to stop the download
or after 30 minutes the server stops the download
I want to minimize overhead
I'd also rather not introduce escape sequences into the binary stream
but keeping it to a single socket might be useful
should you make another meta socket
or embed the out of band information into the main socket
a possible use case would be, someone is downloading a 1GB file
but after 30 minutes the client needs to stop the download
or after 30 minutes the server stops the download
I want to minimize overhead
I'd also rather not introduce escape sequences into the binary stream
but keeping it to a single socket might be useful