Click here to Skip to main content
15,887,746 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Convert Problem CString to double Pin
Chris Losinger18-Sep-07 7:12
professionalChris Losinger18-Sep-07 7:12 
AnswerRe: Convert Problem CString to double Pin
Maximilien18-Sep-07 7:13
Maximilien18-Sep-07 7:13 
AnswerRe: Convert Problem CString to double [modified] Pin
DevMentor.org18-Sep-07 8:08
DevMentor.org18-Sep-07 8:08 
AnswerRe: Convert Problem CString to double Pin
Mark Salsbery18-Sep-07 9:03
Mark Salsbery18-Sep-07 9:03 
Question[Winsock] Get the address of the internet connected NIC Pin
ioctl5118-Sep-07 5:32
ioctl5118-Sep-07 5:32 
AnswerRe: [Winsock] Get the address of the internet connected NIC Pin
DevMentor.org18-Sep-07 6:24
DevMentor.org18-Sep-07 6:24 
AnswerRe: [Winsock] Get the address of the internet connected NIC Pin
DevMentor.org18-Sep-07 6:37
DevMentor.org18-Sep-07 6:37 
GeneralRe: [Winsock] Get the address of the internet connected NIC Pin
ioctl5118-Sep-07 21:29
ioctl5118-Sep-07 21:29 
Thanks for your replies!

Maybe im going about this the wrong way, what i want to do is to write an application that i can use to log my games network traffic. I am doing this by setting the SIO_RCVALL option with ioctl(), so that recvfrom() returns both sent and received packets. But using this option with ioctl() only works if i have bound my socket to a specific address, INADDR_ANY will cause it to fail.
I suppose i could just enumerate all addresses and listen to them all, but that feels like a waste, and could complicate things if this application is run on a gateway machine and not infact the machine that is running the game.
Since my game only supports multiplayer over internet via a matchmaking service, i need to know that im listening to the internet connected address.

Does anyone have any better suggestion on how to solve this?

QuestionRead a string from registry Pin
john563218-Sep-07 4:51
john563218-Sep-07 4:51 
AnswerRe: Read a string from registry Pin
Mark Salsbery18-Sep-07 5:09
Mark Salsbery18-Sep-07 5:09 
GeneralRe: Read a string from registry Pin
led mike18-Sep-07 6:36
led mike18-Sep-07 6:36 
GeneralRe: Read a string from registry Pin
Mark Salsbery18-Sep-07 6:42
Mark Salsbery18-Sep-07 6:42 
GeneralRe: Read a string from registry Pin
led mike18-Sep-07 6:46
led mike18-Sep-07 6:46 
GeneralRe: Read a string from registry Pin
David Crow18-Sep-07 6:57
David Crow18-Sep-07 6:57 
GeneralRe: Read a string from registry Pin
Mark Salsbery18-Sep-07 9:23
Mark Salsbery18-Sep-07 9:23 
QuestionRe: Read a string from registry Pin
David Crow18-Sep-07 5:11
David Crow18-Sep-07 5:11 
Questionquestion on static creating multi-views Pin
King Tran18-Sep-07 4:18
King Tran18-Sep-07 4:18 
AnswerRe: question on static creating multi-views Pin
Iain Clarke, Warrior Programmer18-Sep-07 4:22
Iain Clarke, Warrior Programmer18-Sep-07 4:22 
GeneralRe: question on static creating multi-views Pin
King Tran19-Sep-07 3:43
King Tran19-Sep-07 3:43 
QuestionAdding Libraries Pin
pds847518-Sep-07 3:51
pds847518-Sep-07 3:51 
AnswerRe: Adding Libraries Pin
baerten18-Sep-07 4:16
baerten18-Sep-07 4:16 
QuestionJava vs. C++ Pin
LCI18-Sep-07 3:23
LCI18-Sep-07 3:23 
AnswerRe: Java vs. C++ Pin
David Crow18-Sep-07 4:05
David Crow18-Sep-07 4:05 
GeneralRe: Java vs. C++ Pin
LCI18-Sep-07 4:09
LCI18-Sep-07 4:09 
GeneralRe: Java vs. C++ Pin
David Crow18-Sep-07 4:23
David Crow18-Sep-07 4:23 

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.