Function silc_socket_stream_is_udp
SYNOPSIS
SilcBool silc_socket_stream_is_udp(SilcStream stream,
SilcBool *connected);
DESCRIPTION
Returns TRUE if the `stream' is UDP stream. If the `connected' pointer
is non-NULL it will have indication whether the UDP stream is in
connected state. If it is then packets can be read and written using
silc_stream_read and silc_stream_write. If it is not then packets
need to read and written by using silc_net_udp_receive and
silc_net_udp_send.
|