Click here to Skip to main content
15,914,416 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralPowerPoint library Pin
Ryan Binns23-Feb-04 12:57
Ryan Binns23-Feb-04 12:57 
GeneralRe: PowerPoint library Pin
Ravi Bhavnani24-Feb-04 5:36
professionalRavi Bhavnani24-Feb-04 5:36 
GeneralComctl32 v6 and toolbar paint problem Pin
Jon Sagara23-Feb-04 12:19
Jon Sagara23-Feb-04 12:19 
GeneralRe: Comctl32 v6 and toolbar paint problem Pin
LunaticFringe23-Feb-04 12:46
LunaticFringe23-Feb-04 12:46 
GeneralRe: Comctl32 v6 and toolbar paint problem Pin
Jon Sagara23-Feb-04 12:48
Jon Sagara23-Feb-04 12:48 
GeneralRe: Comctl32 v6 and toolbar paint problem <Edit> Pin
LunaticFringe23-Feb-04 13:05
LunaticFringe23-Feb-04 13:05 
GeneralExpose CRectTracker to C# Pin
jbmeeh23-Feb-04 11:04
jbmeeh23-Feb-04 11:04 
GeneralSpecifying client port number after accept() Pin
joegood23-Feb-04 10:57
joegood23-Feb-04 10:57 
This is a Winsock question.

I have a TCP server application that is listening for connections on port 9000. When the client application connects I do an accept(). If I look at the port number of the socket returned by accept I see a semi-random port number. My question is, can you specify what this port number will be? If I want my client port numbers to start at 9001 and go to a max of 9500, can I programatically do this? I have searched the Winsock API but I have not found an example.

Smile | :)

Thanks
GeneralRe: Specifying client port number after accept() Pin
jerry1211a23-Feb-04 13:24
jerry1211a23-Feb-04 13:24 
GeneralRe: Specifying client port number after accept() Pin
Peter Weyzen23-Feb-04 19:33
Peter Weyzen23-Feb-04 19:33 
GeneralAbout embedding a CSplitterWnd in a CView Pin
Jimmy Chu23-Feb-04 9:45
Jimmy Chu23-Feb-04 9:45 
GeneralRe: About embedding a CSplitterWnd in a CView Pin
David Crow23-Feb-04 9:51
David Crow23-Feb-04 9:51 
GeneralRe: About embedding a CSplitterWnd in a CView Pin
Prakash Nadar23-Feb-04 13:46
Prakash Nadar23-Feb-04 13:46 
GeneralRe: About embedding a CSplitterWnd in a CView Pin
jhwurmbach23-Feb-04 21:53
jhwurmbach23-Feb-04 21:53 
GeneralProject Dependancies Pin
#realJSOP23-Feb-04 8:59
professional#realJSOP23-Feb-04 8:59 
GeneralRe: Project Dependancies Pin
LunaticFringe23-Feb-04 13:19
LunaticFringe23-Feb-04 13:19 
GeneralRe: Project Dependancies Pin
Prakash Nadar23-Feb-04 13:55
Prakash Nadar23-Feb-04 13:55 
Generalmakefile problem Pin
ns23-Feb-04 8:56
ns23-Feb-04 8:56 
GeneralRe: makefile problem Pin
Joaquín M López Muñoz23-Feb-04 10:10
Joaquín M López Muñoz23-Feb-04 10:10 
GeneralRe: makefile problem Pin
nss23-Feb-04 11:52
nss23-Feb-04 11:52 
GeneralPassing Typedef name to as function Parameter Pin
rags23-Feb-04 8:45
rags23-Feb-04 8:45 
GeneralRe: Passing Typedef name to as function Parameter Pin
Joaquín M López Muñoz23-Feb-04 10:03
Joaquín M López Muñoz23-Feb-04 10:03 
GeneralRe: Passing Typedef name to as function Parameter Pin
rags23-Feb-04 10:14
rags23-Feb-04 10:14 
GeneralRe: Passing Typedef name to as function Parameter Pin
Robert A. T. Káldy23-Feb-04 11:04
Robert A. T. Káldy23-Feb-04 11:04 
GeneralRe: Passing Typedef name to as function Parameter Pin
Robert A. T. Káldy23-Feb-04 11:11
Robert A. T. Káldy23-Feb-04 11:11 

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.