Hi, I am trying to change the socket priority of the apache connection. Actually, I want to implement SRPT-based scheduling in Apache run under Linux, so that the one that have the lowest size of requested file have the higher priority. I have modified Linux kernel to provides a mechanism for prioritized queueing. The last thing I have to do is to set the priority of the corresponding socket of each connection. Right now the only way I can see to do this is by calling setsockopt from Apache server code, but I have no idea where should I put this function. I read the manual and FAQ, but cannot find the solution. I used Google to try to find the answer on the Web, but I got no useful hits. I tried to read the source code, but I found it difficult to understand the code (sorry for my stupidity). Does Apache provide class diagram or anything to help developer better understanding the code? If so, can I get a pointer/link to it? Anybody got ideas? Thanks for your attention Andand