Logo Search packages:      
Sourcecode: sofia-sip version File versions

TPORT_DLL int tport_is_reliable ( tport_t const *  self  ) 

Return true if transport is reliable, false otherwise

Return 1 if transport is reliable, 0 otherwise.

(Note that this is part of external API).

Definition at line 203 of file tport.c.

References tport_is_reliable().

Referenced by tport_is_reliable().

{
  return self != NULL && 
    (self->tp_addrinfo->ai_socktype == SOCK_STREAM || 
     self->tp_addrinfo->ai_socktype == SOCK_SEQPACKET);
}


Generated by  Doxygen 1.6.0   Back to index