|
Blue Forest http://www.lslnet.com at 10:18 on June 6, 2006
Programming a doubt soket If not listening to the socket connection, the process is not to stop there? If the timer will not, what alternative is there? |
Programming a doubt soket You want to hold the it? |
Programming a doubt soket I inside an application program interface to access to a number of communications networks, said the network part of a process for the synthesis, then the monitoring process, the procedure is not to stop there? |
Programming a doubt soket Then you use select bars |
Programming a doubt soket Say you really justified, but did not return with like you say. |
Programming a doubt soket A timer to lock
Upstairs, how you generally use
Now accept before using fcntl |
Programming a doubt soket You asynchronous mode of operation is not on the list
If (select (. . . . . )) (Connected arrival */ LEAVES OF 13 SPECIES OF LAURACEAE
Socket cs = accept (. . . );
} |
Programming a doubt soket Is not the multi-county ah? ? |
Programming a doubt soket You not specified 't have to use multithread. You can just use the select
To monitor all the socket, file descriptors including keyboard
Input and standard output. |
Programming a doubt soket Select or use of the threads inside bars, or in select where obstruction ah
Now it seems such a code [code]
Main ()
{
Dosthing;
For (; to) (
Dosthing;
Select;
Dosthing;
}
Dosthing;
}
[/code] |
Programming a doubt soket Eng, multi-thread multithreading. |
| |