On Thu, 2009-11-19 at 14:47 +0800, Zhaoning Jiang wrote:
> SIP gurus, Please help identify this issue.
> 
> Do Standard allow send Port=0 with FQDN in Req-URI?
> 
> like
> [email protected]:0 ?
> 
> I went through RFC3261 and did not find answers.

The difficulty is that port 0 is a perfectly valid port for both TCP and
UDP (see RFC 768 and RFC 793) but that many TCP/UDP stacks do not handle
the specification of port 0 correctly (e.g., the "Berkeley sockets
interface", which uses a port number of 0 to designate an unspecified
port).  Hence, although port 0 is technically valid, one should avoid
using it, as any operation with it is unlikely to work.

Dale


_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to