Click here to Skip to main content
15,891,136 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: bind and port numbers Pin
Le centriste2-Dec-02 7:40
Le centriste2-Dec-02 7:40 
GeneralRe: bind and port numbers Pin
Dave_2-Dec-02 7:56
Dave_2-Dec-02 7:56 
GeneralRe: bind and port numbers Pin
Rickard Andersson202-Dec-02 8:04
Rickard Andersson202-Dec-02 8:04 
GeneralRe: bind and port numbers Pin
Dave_2-Dec-02 8:24
Dave_2-Dec-02 8:24 
GeneralRe: bind and port numbers Pin
Rickard Andersson202-Dec-02 8:34
Rickard Andersson202-Dec-02 8:34 
GeneralRe: bind and port numbers Pin
Dave_2-Dec-02 8:38
Dave_2-Dec-02 8:38 
GeneralRe: bind and port numbers Pin
Rickard Andersson202-Dec-02 8:42
Rickard Andersson202-Dec-02 8:42 
GeneralRe: bind and port numbers Pin
carrie2-Dec-02 11:30
carrie2-Dec-02 11:30 
as far as I know, trying to bind to port 0 using UDP will just make it pick its own port that isn't already allocated. You can't have 2 programs running using the same port.

http://www.ecst.csuchico.edu/~beej/guide/net/html/syscalls.html

Its for linux but its the same case as far as I've tested (lots in the last month) as winsock. I've just finished a biggie UDP based program and wouldn't let it try to bind to port 0 if my life depended on it, I'd rather know where it was going thanks Smile | :)
Generalrecursively search the registry and delete text Pin
Derek Smigelski2-Dec-02 7:04
Derek Smigelski2-Dec-02 7:04 
GeneralRe: recursively search the registry and delete text Pin
Joan M2-Dec-02 9:11
professionalJoan M2-Dec-02 9:11 
GeneralFile extension and default icon Pin
act_x2-Dec-02 6:51
act_x2-Dec-02 6:51 
GeneralRe: File extension and default icon Pin
Rickard Andersson202-Dec-02 7:32
Rickard Andersson202-Dec-02 7:32 
GeneralRe: File extension and default icon Pin
act_x2-Dec-02 8:05
act_x2-Dec-02 8:05 
GeneralRe: File extension and default icon Pin
Rickard Andersson202-Dec-02 8:38
Rickard Andersson202-Dec-02 8:38 
GeneralRe: File extension and default icon Pin
Nitron2-Dec-02 10:08
Nitron2-Dec-02 10:08 
GeneralWM_SYSCOMMAND Pin
Jamie Hale2-Dec-02 6:14
Jamie Hale2-Dec-02 6:14 
GeneralRe: WM_SYSCOMMAND Pin
Jamie Hale2-Dec-02 11:38
Jamie Hale2-Dec-02 11:38 
GeneralRe: WM_SYSCOMMAND Pin
Paul M Watt3-Dec-02 8:14
mentorPaul M Watt3-Dec-02 8:14 
GeneralRe: WM_SYSCOMMAND Pin
Jamie Hale3-Dec-02 9:34
Jamie Hale3-Dec-02 9:34 
GeneralWindows hook Pin
luftwaffe2-Dec-02 5:44
luftwaffe2-Dec-02 5:44 
GeneralCSpinButtonCtrl as an In-place control Pin
cgreathouse2-Dec-02 5:11
cgreathouse2-Dec-02 5:11 
Questionhow open a flie with 2 format, (Hex & txt)? Pin
zhdleonid2-Dec-02 5:00
zhdleonid2-Dec-02 5:00 
AnswerI meam: Pin
zhdleonid2-Dec-02 5:10
zhdleonid2-Dec-02 5:10 
AnswerRe: how open a flie with 2 format, (Hex & txt)? Pin
Nitron2-Dec-02 10:12
Nitron2-Dec-02 10:12 
GeneralRe: how open a flie with 2 format, (Hex & txt)? Pin
zhdleonid2-Dec-02 17:54
zhdleonid2-Dec-02 17: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.