What you are trying to do is not possible, thats not how TCP/IP works. https://stackoverflow.com/questions/2301075/client-use-high-port-number
Why would you want to fix the high port? On Fri, Oct 19, 2018 at 12:14 AM 許小智 <[email protected]> wrote: > Hi, > > I study the cwmp protocol now. > > I find the CWMP CPE code and open the ACS to observe their action. > > I try to observe CPE and ACS action mode , which code from your github > > For example, CPE uses a random port from PC (e.g 35768) to connect ACS > with port 7547.When they finish their communication, ACS will send the http > package with no content in order to finish this connection. But, when CPE > connects ACS next time, the CPE port will change to another random port > (e.g . 35780, different from begin 35768). > > I want to set CPE connected port (e.g 35768) be static , but I don’t know > how to begin. > > Could you teach me how to work ? > > Jason Hsu > > > > Dan Morphis <[email protected]> 於 2018年10月19日 週五 上午1:53寫道: > >> Can you more fully explain your request? I'm not sure what it is you are >> trying to accomplish. >> >> -dan >> >> On Thu, Oct 18, 2018 at 8:42 AM 許小智 <[email protected]> wrote: >> >>> Excuse me, >>> I want to set server to client port be static, so I try to find file >>> which send http package with no data. >>> Could you tell me the file path, please? I want to edit the code to set >>> tcp port static. >>> Please teach me if you have time .Thanks a lot. >>> >>> Jason Hsu >>> _______________________________________________ >>> Users mailing list >>> [email protected] >>> http://lists.genieacs.com/mailman/listinfo/users >>> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.genieacs.com/mailman/listinfo/users >> > _______________________________________________ > Users mailing list > [email protected] > http://lists.genieacs.com/mailman/listinfo/users >
_______________________________________________ Users mailing list [email protected] http://lists.genieacs.com/mailman/listinfo/users
