Communication between Unix and NT

Posted on 2004-11-27
Last Modified: 2013-11-13
We have multiple users running Unix and NT apps that need to communicate both ways.
I guess, ftp would be 1 way to do it; is there anything better ?

Source Code would be greatly appreciated

Thanks in advance,

Question by:AlexF777
    LVL 95

    Expert Comment

    by:Lee W, MVP
    How/Why exactly do you want them to communicate?  For file transfers?  If so, you could look into Samba -
    LVL 19

    Expert Comment

    I agree with leew, Unix and NT can communicate in 50 different ways, if you specify your task, we can help you from there.


    Author Comment

    Ok, one Unix app needs to pass some parameters to Win NT app,
    then some other Win NT app needs to pass some parameters to Unix app, etc.

    I guess, file transfer would be 1 way to do it ...

    LVL 95

    Expert Comment

    by:Lee W, MVP
    If you use plain old TCP/IP protocols for networking then just have each app listen on a port and have the other app send data on that port.  Just like web browsers and web servers use port 80 - doesn't matter if one is on NT and the other Unix or both are on the same platform.

    Author Comment

    anyway I could have an example source code ?
    LVL 95

    Accepted Solution

    In VB you'd use a Winsock control and assign it ports to communicate on.  On unix, it depends how you're going to do this.  Probably C++, but I'm not familiar with the procedures in that.  (I've played around in VB with this, writing my own mail application for testing, but that was some time ago...)

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Suggested Solutions

    Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
    Windows Script Host (WSH) has been part of Windows since Windows NT4. Windows Script Host provides architecture for building dynamic scripts that consist of a core object model, scripting hosts, and scripting engines. The key components of Window…
    The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.
    The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

    759 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

    13 Experts available now in Live!

    Get 1:1 Help Now