1240 |
explicitly permit output to arrive at a specific point, or even to wait |
explicitly permit output to arrive at a specific point, or even to wait |
1241 |
until output arrives from a process. |
until output arrives from a process. |
1242 |
|
|
1243 |
@defun accept-process-output &optional process seconds millisec |
@defun accept-process-output &optional process seconds millisec just-this-one |
1244 |
This function allows Emacs to read pending output from processes. The |
This function allows Emacs to read pending output from processes. The |
1245 |
output is inserted in the associated buffers or given to their filter |
output is inserted in the associated buffers or given to their filter |
1246 |
functions. If @var{process} is non-@code{nil} then this function does |
functions. If @var{process} is non-@code{nil} then this function does |
1263 |
of a second; on those that do not, you get an error if you specify |
of a second; on those that do not, you get an error if you specify |
1264 |
nonzero @var{millisec}. |
nonzero @var{millisec}. |
1265 |
|
|
1266 |
|
@c Emacs 21.4 feature |
1267 |
|
If @var{process} is a process, and the argument @var{just-this-one} is |
1268 |
|
non-nil, only output from that process is handled, suspending output |
1269 |
|
from other processes until some output has been received from that |
1270 |
|
process or the timeout expires. If @var{just-this-one} is an integer, |
1271 |
|
also inhibit running timers. This feature is generally not |
1272 |
|
recommended, but may be necessary for specific applications, such as |
1273 |
|
speech synthesis. |
1274 |
|
|
1275 |
The function @code{accept-process-output} returns non-@code{nil} if it |
The function @code{accept-process-output} returns non-@code{nil} if it |
1276 |
did get some output, or @code{nil} if the timeout expired before output |
did get some output, or @code{nil} if the timeout expired before output |
1277 |
arrived. |
arrived. |
1673 |
@end defun |
@end defun |
1674 |
|
|
1675 |
@node Datagrams |
@node Datagrams |
1676 |
@section Datagrams |
@section Datagrams |
1677 |
@cindex datagrams |
@cindex datagrams |
1678 |
|
|
1679 |
A datagram connection communicates with individual packets rather |
A datagram connection communicates with individual packets rather |
1960 |
|
|
1961 |
@example |
@example |
1962 |
(featurep 'make-network-process '(@var{keyword} @var{value})) |
(featurep 'make-network-process '(@var{keyword} @var{value})) |
1963 |
@end example |
@end example |
1964 |
|
|
1965 |
@noindent |
@noindent |
1966 |
The result of the first form is @code{t} if it works to specify |
The result of the first form is @code{t} if it works to specify |
1986 |
|
|
1987 |
@example |
@example |
1988 |
(featurep 'make-network-process '@var{keyword}) |
(featurep 'make-network-process '@var{keyword}) |
1989 |
@end example |
@end example |
1990 |
|
|
1991 |
Here are some of the option @var{keyword}s you can test in |
Here are some of the option @var{keyword}s you can test in |
1992 |
this way. |
this way. |