Click here to Skip to main content
16,004,924 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionSome WOL problem Pin
yccheok12-Sep-05 21:43
yccheok12-Sep-05 21:43 
AnswerRe: Some WOL problem Pin
ThatsAlok12-Sep-05 23:48
ThatsAlok12-Sep-05 23:48 
AnswerRe: Some WOL problem Pin
Trollslayer13-Sep-05 1:19
mentorTrollslayer13-Sep-05 1:19 
QuestionHow can I find out what service is used by a winsock connection? Pin
Zdenek Navratil12-Sep-05 21:39
Zdenek Navratil12-Sep-05 21:39 
AnswerRe: How can I find out what service is used by a winsock connection? Pin
Zdeslav Vojkovic13-Sep-05 1:51
Zdeslav Vojkovic13-Sep-05 1:51 
GeneralRe: How can I find out what service is used by a winsock connection? Pin
Zdenek Navratil13-Sep-05 5:35
Zdenek Navratil13-Sep-05 5:35 
GeneralRe: How can I find out what service is used by a winsock connection? Pin
Alexander M.,13-Sep-05 5:42
Alexander M.,13-Sep-05 5:42 
AnswerRe: How can I find out what service is used by a winsock connection? Pin
cmk13-Sep-05 8:15
cmk13-Sep-05 8:15 
You're question doesn't make sense.

Both the client and service code must 'speak' the same service protocol (e.g. telnet).

Well know port numbers are associated with specific services so that it is easier to write client code (you only need the server name and can assume the expected service is listening on the appropriate port).

If you configure your service to listen to another port instead of, or as well as, the well known port number then you know that any client that connects to that port MUST speak that protocol if any meaningfull communication is to take place.

e.g.
If you have a ftp server that you set up to listen to port 2000 and have a telnet client try to connect to port 2000 nothing will happen - they speak different protocols.

In short, the server dictates the protocol the client must use.


...cmk

Save the whales - collect the whole set
QuestionBarcode Reading in VC Pin
kk.tvm12-Sep-05 21:02
kk.tvm12-Sep-05 21:02 
AnswerRe: Barcode Reading in VC Pin
David Crow13-Sep-05 2:34
David Crow13-Sep-05 2:34 
AnswerRe: Barcode Reading in VC Pin
Chris Losinger13-Sep-05 3:53
professionalChris Losinger13-Sep-05 3:53 
QuestionMSXML: Compiling Error on VC 7.1 Pin
Identity Undisclosed12-Sep-05 21:00
Identity Undisclosed12-Sep-05 21:00 
AnswerRe: MSXML: Compiling Error on VC 7.1 Pin
Andrew Kirillov13-Sep-05 1:24
Andrew Kirillov13-Sep-05 1:24 
QuestionHardware Acceleration. Pin
ashwath200512-Sep-05 20:36
ashwath200512-Sep-05 20:36 
AnswerRe: Hardware Acceleration. Pin
David Crow13-Sep-05 2:38
David Crow13-Sep-05 2:38 
Questionproblem of transfering file from one pc 2 another in second time Pin
manishgandhi12-Sep-05 20:25
manishgandhi12-Sep-05 20:25 
AnswerRe: problem of transfering file from one pc 2 another in second time Pin
danscort yu12-Sep-05 21:19
danscort yu12-Sep-05 21:19 
QuestionDVD frame capture Pin
svitnev12-Sep-05 19:39
svitnev12-Sep-05 19:39 
Questionhelp!! Pin
12-Sep-05 19:16
suss12-Sep-05 19:16 
AnswerRe: help!! Pin
Cedric Moonen12-Sep-05 20:21
Cedric Moonen12-Sep-05 20:21 
GeneralRe: help!! Pin
toxcct12-Sep-05 20:52
toxcct12-Sep-05 20:52 
GeneralRe: help!! Pin
Ravi Bhavnani12-Sep-05 22:10
professionalRavi Bhavnani12-Sep-05 22:10 
GeneralRe: help!! Pin
G Haranadh13-Sep-05 0:06
G Haranadh13-Sep-05 0:06 
AnswerRe: help!! Pin
ThatsAlok12-Sep-05 23:36
ThatsAlok12-Sep-05 23:36 
AnswerRe: help!! Pin
khan++13-Sep-05 0:33
khan++13-Sep-05 0:33 

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.