http post 204 no content

Dan Morphis dan at milkcarton.com
Fri Oct 19 15:16:07 EDT 2018


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 許小智 <a0987305458 at gmail.com> 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 <dan at milkcarton.com> 於 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 許小智 <a0987305458 at gmail.com> 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
>>> Users at lists.genieacs.com
>>> http://lists.genieacs.com/mailman/listinfo/users
>>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.genieacs.com
>> http://lists.genieacs.com/mailman/listinfo/users
>>
> _______________________________________________
> Users mailing list
> Users at lists.genieacs.com
> http://lists.genieacs.com/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20181019/6d373d8a/attachment.html>


More information about the Users mailing list