this might help:
1. use UDP
2. send tiny amounts of information per 'write'
3. do error checking in your program (TCP error checking overhead is expensive)
1. use UDP
2. send tiny amounts of information per 'write'
3. do error checking in your program (TCP error checking overhead is expensive)