Click here to Skip to main content
15,918,808 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Network programming questions Pin
Ravi Bhavnani21-Jun-05 15:08
professionalRavi Bhavnani21-Jun-05 15:08 
GeneralRe: Network programming questions Pin
Tom Archer21-Jun-05 16:07
Tom Archer21-Jun-05 16:07 
GeneralRe: Network programming questions Pin
Christian Graus21-Jun-05 16:38
protectorChristian Graus21-Jun-05 16:38 
GeneralRe: Network programming questions Pin
Ravi Bhavnani21-Jun-05 18:57
professionalRavi Bhavnani21-Jun-05 18:57 
GeneralRe: Network programming questions Pin
Bob Stanneveld21-Jun-05 21:09
Bob Stanneveld21-Jun-05 21:09 
GeneralRe: Network programming questions Pin
Christian Graus22-Jun-05 2:37
protectorChristian Graus22-Jun-05 2:37 
GeneralRe: Network programming questions Pin
Bob Stanneveld22-Jun-05 2:48
Bob Stanneveld22-Jun-05 2:48 
GeneralRe: Network programming questions Pin
Christian Graus22-Jun-05 14:50
protectorChristian Graus22-Jun-05 14:50 
Well, I thought of a faster way again on the way to work this morning...


void ConvertLongToIPAddress( long nLong,
unsigned char& ch0,
unsigned char& ch1,
unsigned char& ch2,
unsigned char& ch3) // lowest part
{
unsigned char * pIP = (unsigned char *) & nLong;

ch0 = pIP[3];
ch1 = pIP[2];
ch2 = pIP[1];
ch3 = pIP[0];
}


I seem to recall a Dilbert cartoon where he has to hand in a timesheet and says 'the time I spent doing nothing in meetings is marked as work, and the time I spent designing circuits in the shower is not on there'.


Christian Graus - Microsoft MVP - C++
GeneralRe: Network programming questions Pin
Bob Stanneveld22-Jun-05 20:32
Bob Stanneveld22-Jun-05 20:32 
GeneralRe: Network programming questions Pin
Christian Graus23-Jun-05 13:07
protectorChristian Graus23-Jun-05 13:07 
GeneralRe: Network programming questions Pin
Bob Stanneveld23-Jun-05 21:08
Bob Stanneveld23-Jun-05 21:08 
GeneralRe: Network programming questions Pin
Rick York22-Jun-05 6:22
mveRick York22-Jun-05 6:22 
GeneralRe: Network programming questions Pin
Christian Graus22-Jun-05 14:50
protectorChristian Graus22-Jun-05 14:50 
GeneralRe: Network programming questions Pin
David Crow22-Jun-05 3:52
David Crow22-Jun-05 3:52 
GeneralRe: Network programming questions Pin
Rick York22-Jun-05 6:23
mveRick York22-Jun-05 6:23 
GeneralEnumProcesses Problem!!! Pin
lewislewis_lewis21-Jun-05 11:27
lewislewis_lewis21-Jun-05 11:27 
GeneralRe: EnumProcesses Problem!!! Pin
Blake Miller21-Jun-05 11:33
Blake Miller21-Jun-05 11:33 
GeneralVector Pin
GreenLantern21-Jun-05 11:24
GreenLantern21-Jun-05 11:24 
GeneralRe: Vector Pin
Budric B.21-Jun-05 11:31
Budric B.21-Jun-05 11:31 
GeneralRe: Vector Pin
Giles21-Jun-05 11:46
Giles21-Jun-05 11:46 
GeneralRe: Vector Pin
Christian Graus21-Jun-05 13:35
protectorChristian Graus21-Jun-05 13:35 
GeneralRe: Vector Pin
John R. Shaw21-Jun-05 14:30
John R. Shaw21-Jun-05 14:30 
GeneralVectors or CList Pin
Wheatbread21-Jun-05 10:39
Wheatbread21-Jun-05 10:39 
GeneralRe: Vectors or CList Pin
Chris Losinger21-Jun-05 10:58
professionalChris Losinger21-Jun-05 10:58 
GeneralRe: Vectors or CList Pin
Christian Graus21-Jun-05 13:36
protectorChristian Graus21-Jun-05 13:36 

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.