TXT

Design for File Transfer we

By Robin Parker,2014-08-12 09:37
12 views 0
Design for File Transfer we

Note that {filename} must be encoded in UTF-8, in order to support multiple languages.

SIP/2.0 200 OK

    CallID******

    CSeq: 1 INVITE

    Content-Length: ×××

    Content-Type: application/sdp

c=IN IP4 1.2.3.4

    m=application 12345 FT/TelTel *

    ACK sip:uer2@teltel.com SIP/2.0 CallID******

    CSeq: 1 ACK

    Content-Length:0

SIP/2.0 486 Busy Here

    CallID******

    CSeq: 1 INVITE

    Content-Length:0

    SIP/2.0 487 Cancel Request CallID******

    CSeq: 1 INVITE

    Content-Length:0

    CANCEL sip:uer2@teltel.com SIP/2.0 CallID******

    CSeq: 1 CANCEL

    Content-Length:0

BYE sip:uer2@teltel.com SIP/2.0

    CallID******

    CSeq: 2 BYE

    Content-Length:0

[edit]UDT Change

    UDT Stack follow the createing connection process of TCP.The Server must create a socket to

    listen.Then client create a socket and connect the server listen socket.Server listening

    socket accept the client connection and create another socket to transfer data with client.In

    this case, the Server open two socket,one is used for listen and the other is used for

    translator data.In our case,we use one port to listen and transfer data.

    now,UDT version does not support firewall punching, especially those NAT firewalls. So we must add this function to UDT.

     PA S

     18.181.0.31:1234

     |

     |

     +----------------------+----------------------+

     | |

     NAT A NAT B

     A-S 155.99.25.11:62000 B-S 138.76.29.7:31000

     A-B 155.99.25.11:62001 B-A 138.76.29.7:31001

     | |

     | |

     TelTEl A TelTel B

     10.0.0.1:1234 10.1.1.3:1234

Report this document

For any questions or suggestions please email
cust-service@docsford.com