Migration from Unix to Windows

Posted on 2004-08-20
Last Modified: 2010-04-15
I have a unix code that basically creates a Socket of Internet family (Socket type -Stream type). I need to convert this code to WIndows (VC 6.0). For this reason I need to change some of the header files existing in the Unix code.
What I need to know is the corresponding windows header files for these unix header files.
The Unix header files are
<signal.h> (makes use of Sigaction for a signal action>

If you know of some links that has such a mapping,I would really appreciate that.

Question by:Rahulsaxena
  • 2

Expert Comment

ID: 11854663

Author Comment

ID: 11854976
I guess  winsock and winsock2.h take care of the socket programming aspect. Do these files include code for Internet family sockets?
What about signals. Are they also taken care of in these header files??
Would you recommend using MFC classes to do socket Programming than the conventional Wiin32 style programming?

LVL 86

Accepted Solution

jkr earned 125 total points
ID: 11855388
>>What about signals. Are they also taken care of in these header files??

Signals work (partly), see signal.h on that, not all are supported. For a general overview, see ("How to Migrate Custom UNIX Applications to Windows") ("Windows Concepts for UNIX Software Designers") ("UNIX Application Migration Guide") <--!
LVL 86

Expert Comment

ID: 11856017
Um, thanx, but why in all the world a "C"?

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An Outlet in Cocoa is a persistent reference to a GUI control; it connects a property (a variable) to a control.  For example, it is common to create an Outlet for the text field GUI control and change the text that appears in this field via that Ou…
This tutorial is posted by Aaron Wojnowski, administrator at  To view more iPhone tutorials, visit This is a very simple tutorial on finding the user's current location easily. In this tutorial, you will learn ho…
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use while-loops in the C programming language.
The goal of this video is to provide viewers with basic examples to understand how to create, access, and change arrays in the C programming language.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now