Click here to Skip to main content
15,915,083 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: exporting namespaces Pin
pankajdaga1-May-03 4:10
pankajdaga1-May-03 4:10 
GeneralError while sending a TCP package Pin
George21-May-03 2:27
George21-May-03 2:27 
GeneralRe: Error while sending a TCP package Pin
JohnnyG1-May-03 16:45
JohnnyG1-May-03 16:45 
GeneralConsole application problem Pin
Mazdak1-May-03 2:21
Mazdak1-May-03 2:21 
GeneralRe: Console application problem Pin
David Crow1-May-03 3:17
David Crow1-May-03 3:17 
GeneralIP-scan in MFC Pin
Niedermeier1-May-03 2:05
Niedermeier1-May-03 2:05 
GeneralRe: IP-scan in MFC Pin
David Crow1-May-03 9:41
David Crow1-May-03 9:41 
GeneralRe: IP-scan in MFC Pin
JohnnyG1-May-03 16:52
JohnnyG1-May-03 16:52 
I don't know if you are developing or have the source code to the "application online" but if you are, why don't you just listen to a specific port -- not TCP/IP listen but UDP listen.

Just do a blocking or non-blocking recv or recvfrom in a thread for the port you want to receive communication from. Then the "searching application" can send a UDP broadcast to all computers on that subnet on that port. Since, his IP address will be the source in that packet, your listening thread in your non-searching application can take note of it and start a TCP/IP connection if required. Or, just send a reply to the "searching application" that you are there.
QuestionHow to use a class to represent a TCP/IP header. Pin
George230-Apr-03 22:47
George230-Apr-03 22:47 
GeneralAssociating a value with Dialog Pin
Ph@ntom30-Apr-03 20:21
Ph@ntom30-Apr-03 20:21 
GeneralRe: Associating a value with Dialog Pin
Ryan Binns30-Apr-03 20:34
Ryan Binns30-Apr-03 20:34 
QuestionBSTR data type ... huh? Pin
Nathan Ridley30-Apr-03 19:41
Nathan Ridley30-Apr-03 19:41 
AnswerRe: BSTR data type ... huh? Pin
safee ullah30-Apr-03 19:54
safee ullah30-Apr-03 19:54 
GeneralRe: BSTR data type ... huh? Pin
Nathan Ridley30-Apr-03 20:15
Nathan Ridley30-Apr-03 20:15 
GeneralRe: BSTR data type ... huh? Pin
David Crow1-May-03 3:41
David Crow1-May-03 3:41 
AnswerRe: BSTR data type ... huh? Pin
Ryan Binns30-Apr-03 20:23
Ryan Binns30-Apr-03 20:23 
GeneralRe: BSTR data type ... huh? Pin
Ryan Binns30-Apr-03 20:29
Ryan Binns30-Apr-03 20:29 
GeneralRe: BSTR data type ... huh? Pin
Nathan Ridley30-Apr-03 20:34
Nathan Ridley30-Apr-03 20:34 
GeneralRe: BSTR data type ... huh? Pin
Ryan Binns30-Apr-03 20:40
Ryan Binns30-Apr-03 20:40 
GeneralRe: BSTR data type ... huh? Pin
Nathan Ridley30-Apr-03 20:53
Nathan Ridley30-Apr-03 20:53 
GeneralRe: BSTR data type ... huh? Pin
Ryan Binns30-Apr-03 20:58
Ryan Binns30-Apr-03 20:58 
GeneralRe: BSTR data type ... huh? Pin
Nathan Ridley30-Apr-03 21:09
Nathan Ridley30-Apr-03 21:09 
GeneralQUESTION: Bug in code! Pin
Nathan Ridley1-May-03 13:23
Nathan Ridley1-May-03 13:23 
AnswerRe: BSTR data type ... huh? Pin
Renjith Ramachandran1-May-03 0:16
Renjith Ramachandran1-May-03 0:16 
AnswerRe: BSTR data type ... huh? Pin
Michael Dunn1-May-03 0:25
sitebuilderMichael Dunn1-May-03 0:25 

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.