C/C++
green.txt
Associated article: Green Telnet
Tags: C/C++ Design Global Developer
Published source code accompanying the article by Jeremy Blackburn and Ken Christensen in which they create a "green telnet" that lets clients transition to a low-power, sleep state, thereby reducing energy consumption.
Green Telnet
by Jeremy Blackburn and Ken Christensen
Listing One
1. void recv_data(int s_client, int recv_data_fd, pid_t send_data_pid) {
2. struct gserver_msg client_message;
3. char gt_packet[BUF_SIZE];
4. char * p;
5. int bytes_read = 0;
6. ...


