M mohammad javad Member Jun 22, 2020 #1 hi as I'm not very familiar to socket programming... can I use any arbitrary port like 10000000 to connect to my own server. I know maximum port number is about to 65000 but they're for specific usages I do not want to use them. on the hand they may be closed one day. thanks
hi as I'm not very familiar to socket programming... can I use any arbitrary port like 10000000 to connect to my own server. I know maximum port number is about to 65000 but they're for specific usages I do not want to use them. on the hand they may be closed one day. thanks
Erel B4X founder Staff member Licensed User Longtime User Jun 23, 2020 #2 No. As you wrote the maximum port number is 65k. Upvote 0
E emexes Expert Licensed User Longtime User Jun 23, 2020 #3 mohammad javad said: maximum port number is about to 65000 but they're for specific usages Click to expand... Low numbers esp. < 0x0400 are for specific usages, high numbers esp. >= 0xC000 are for whatever you want. Last edited: Jun 23, 2020 Upvote 0
mohammad javad said: maximum port number is about to 65000 but they're for specific usages Click to expand... Low numbers esp. < 0x0400 are for specific usages, high numbers esp. >= 0xC000 are for whatever you want.