使用函式庫 isdigit() 的程式未必較小。
參考
https://stackoverflow.com/questions/28425292/shouldnt-isdigit-be-faster-in-c
所有 SIP 訊息 都要有 Via,縮寫 v。一開始的 UAC 和後續途經的每個 proxy 都會疊加一個 Via 放傳送的位址,依序作為回應的路徑。 格式 sent-protocol sent-by [ ;branch= branch ][ ; 參數 ...] s...