Click here to Skip to main content
15,919,358 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionPorting UNIX code to Visual C++ Pin
D Lacey8-Jun-07 13:12
D Lacey8-Jun-07 13:12 
AnswerRe: Porting UNIX code to Visual C++ Pin
Nemanja Trifunovic8-Jun-07 13:20
Nemanja Trifunovic8-Jun-07 13:20 
AnswerRe: Porting UNIX code to Visual C++ Pin
Hans Dietrich8-Jun-07 13:38
mentorHans Dietrich8-Jun-07 13:38 
GeneralRe: Porting UNIX code to Visual C++ Pin
bob169728-Jun-07 17:17
bob169728-Jun-07 17:17 
GeneralRe: Porting UNIX code to Visual C++ Pin
Mark Salsbery9-Jun-07 8:40
Mark Salsbery9-Jun-07 8:40 
GeneralRe: Porting UNIX code to Visual C++ Pin
bob169729-Jun-07 9:02
bob169729-Jun-07 9:02 
GeneralRe: Porting UNIX code to Visual C++ Pin
Mark Salsbery9-Jun-07 15:36
Mark Salsbery9-Jun-07 15:36 
AnswerRe: Porting UNIX code to Visual C++ [modified] Pin
Mark Salsbery8-Jun-07 13:45
Mark Salsbery8-Jun-07 13:45 
In addition to Nemanja's great link...
*EDIT* and Hanz's links (sorry man, I was typing while you<br />
were posting - I'm slow :))!


For sockets, there's several methods for asynchronous I/O -
select()
overlapped I/O
I/O on separate threads
IOCompletion ports

A good reference for all things Winsock is Windows Sockets 2[^]

I'm not sure about hostid(), but if it's the MAC address of the network adapter on the machine,
one way you can get that info is using the IP Helper API GetAdaptersInfo()[^]

For reference material to all things Windows, the Platform SDKs have a wealth of information.
Here's the link for Windows versions through Windows Server 2003 SP1 -
Windows® Server 2003 SP1 Platform SDK Web Install[^]

Mark

-- modified at 19:50 Friday 8th June, 2007

"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder

Question_findfirst() can't see host on LAN Pin
Robert Palma Jr.8-Jun-07 10:56
Robert Palma Jr.8-Jun-07 10:56 
AnswerRe: _findfirst() can't see host on LAN Pin
Mark Salsbery8-Jun-07 11:03
Mark Salsbery8-Jun-07 11:03 
GeneralRe: _findfirst() can't see host on LAN Pin
Robert Palma Jr.9-Jun-07 7:43
Robert Palma Jr.9-Jun-07 7:43 
QuestionRe: _findfirst() can't see host on LAN Pin
David Crow9-Jun-07 6:47
David Crow9-Jun-07 6:47 
AnswerRe: _findfirst() can't see host on LAN Pin
Robert Palma Jr.9-Jun-07 7:45
Robert Palma Jr.9-Jun-07 7:45 
QuestionPrinting html file withought print dialog show Pin
pnpfriend8-Jun-07 9:57
pnpfriend8-Jun-07 9:57 
AnswerRe: Printing html file withought print dialog show Pin
ashukasama9-Jun-07 1:36
ashukasama9-Jun-07 1:36 
Questionproblem on work with Class CArray [modified] Pin
Immunity188-Jun-07 9:14
Immunity188-Jun-07 9:14 
AnswerRe: problem on work with Class CArray Pin
Mark Salsbery8-Jun-07 9:28
Mark Salsbery8-Jun-07 9:28 
GeneralRe: problem on work with Class CArray Pin
Immunity188-Jun-07 9:35
Immunity188-Jun-07 9:35 
GeneralRe: problem on work with Class CArray Pin
Mark Salsbery8-Jun-07 9:43
Mark Salsbery8-Jun-07 9:43 
AnswerRe: problem on work with Class CArray Pin
Mark Salsbery8-Jun-07 9:33
Mark Salsbery8-Jun-07 9:33 
GeneralRe: problem on work with Class CArray Pin
Immunity188-Jun-07 9:37
Immunity188-Jun-07 9:37 
GeneralRe: problem on work with Class CArray Pin
Mark Salsbery8-Jun-07 9:47
Mark Salsbery8-Jun-07 9:47 
GeneralRe: problem on work with Class CArray Pin
Immunity188-Jun-07 9:53
Immunity188-Jun-07 9:53 
GeneralRe: problem on work with Class CArray Pin
Mark Salsbery8-Jun-07 9:56
Mark Salsbery8-Jun-07 9:56 
GeneralRe: problem on work with Class CArray Pin
Immunity188-Jun-07 9:58
Immunity188-Jun-07 9:58 

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.