Click here to Skip to main content
15,892,269 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Is the func: sizeof returns the size in BYTEs ? Pin
Carlos Antollini25-Jul-01 8:40
Carlos Antollini25-Jul-01 8:40 
GeneralThank to all you very much !!! Pin
25-Jul-01 8:45
suss25-Jul-01 8:45 
GeneralThank you very much ! Pin
25-Jul-01 8:53
suss25-Jul-01 8:53 
GeneralResponding To An Item Click In A List View Pin
AJ12325-Jul-01 5:03
AJ12325-Jul-01 5:03 
GeneralRe: Responding To An Item Click In A List View Pin
Lee Nowotny25-Jul-01 5:43
Lee Nowotny25-Jul-01 5:43 
GeneralCTabCtrl Pin
25-Jul-01 5:03
suss25-Jul-01 5:03 
QuestionHow to create dynamic splitters? Pin
Tommy H D Svensson25-Jul-01 4:46
Tommy H D Svensson25-Jul-01 4:46 
GeneralWinSock: Dynamic Port Allocation Pin
Oliver Anhuth25-Jul-01 3:49
Oliver Anhuth25-Jul-01 3:49 
The MSDN for the WinSock bind API call states:
For TCP/IP, if the port is specified as zero, the service
provider assigns a unique port to the application with a
value between 1024 and 5000. 
..
Binding to a specific port number other than port 0 is
discouraged for client applications, since there is a
danger of conflicting with another socket already using
that port number.

Unfortunately it does not say when the allocated port number is released. When using this technique I always get the last port number increased by one. Does that mean that this method can only succeed up to 3976 times and will then fail? Or will the port number start again with 1024 after 5000 has been reached?

In summary: Does anybody know more about this feature or have some references?

Oliver
GeneralSTL bugs(?) Pin
25-Jul-01 3:41
suss25-Jul-01 3:41 
GeneralRe: STL bugs(?) Pin
CodeGuy25-Jul-01 7:23
CodeGuy25-Jul-01 7:23 
GeneralRe: STL bugs(?) Pin
CodeGuy25-Jul-01 10:01
CodeGuy25-Jul-01 10:01 
QuestionHow to get a pointer to the CView of a particular CDoc in MDI Pin
mr200325-Jul-01 3:06
mr200325-Jul-01 3:06 
AnswerRe: How to get a pointer to the CView of a particular CDoc in MDI Pin
Tomasz Sowinski25-Jul-01 3:18
Tomasz Sowinski25-Jul-01 3:18 
GeneralRe: How to get a pointer to the CView of a particular CDoc in MDI Pin
mr200325-Jul-01 3:27
mr200325-Jul-01 3:27 
GeneralRe: How to get a pointer to the CView of a particular CDoc in MDI Pin
Tomasz Sowinski25-Jul-01 3:29
Tomasz Sowinski25-Jul-01 3:29 
GeneralRe: How to get a pointer to the CView of a particular CDoc in MDI Pin
mr200325-Jul-01 3:59
mr200325-Jul-01 3:59 
GeneralRe: How to get a pointer to the CView of a particular CDoc in MDI Pin
Tomasz Sowinski25-Jul-01 4:04
Tomasz Sowinski25-Jul-01 4:04 
Questionhow open a blank document (OnFileNew) Pin
mr200325-Jul-01 2:51
mr200325-Jul-01 2:51 
GeneralCString to CTime Pin
Jimmy Ehrnström25-Jul-01 2:50
Jimmy Ehrnström25-Jul-01 2:50 
GeneralRe: CString to CTime Pin
Doug Garno25-Jul-01 3:41
Doug Garno25-Jul-01 3:41 
GeneralRe: CString to CTime Pin
Not Active25-Jul-01 3:50
mentorNot Active25-Jul-01 3:50 
GeneralDeveloping Java Console Using VC++ Pin
Gaurav Lambole25-Jul-01 2:35
Gaurav Lambole25-Jul-01 2:35 
GeneralRichEditView Text Pin
Frank Deo25-Jul-01 2:11
Frank Deo25-Jul-01 2:11 
GeneralRe: RichEditView Text Pin
25-Jul-01 2:42
suss25-Jul-01 2:42 
GeneralRe: RichEditView Text Pin
Frank Deo25-Jul-01 11:54
Frank Deo25-Jul-01 11:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.