Connect windows C/application with UNIX C/application

Connect windows C/application with UNIX C/application

Post by Jose Manuel Moli » Wed, 07 Jun 1995 04:00:00



I would like to interchange data between a C application
running under windows on a PC with a C application running
on a Sun under UNIX.

We think that it can be done using sockets, but we do not
know nothing about it.

As you can imagine we desperately need some help.

Could anyone send us some source code with an example of
how to achieve it, using sockets or any other procedure...

Is the available some libraries with such kind of functions...

Where could we read to learn something about sockets to
conect unix programs (cc) with windows programs (Borland C 4.5)

 
 
 

Connect windows C/application with UNIX C/application

Post by Alta Technolo » Thu, 08 Jun 1995 04:00:00



: I would like to interchange data between a C application
: running under windows on a PC with a C application running
: on a Sun under UNIX.

Jose,

Look into RPCGEN on your Sun.  This makes sockets programming
easy.  For RPC's on the PC side, I've found two sources:

Spry has an RPC library called tirpc.  It's on Spry's ftp
site (ftp.spry.com) under the name "tirpc.zip".  I've seen
it on other sites (i.e. sunsite) as "ti-rpc.zip".  They're
all the same version.

This looked to be the best solution:  the Sun RPCGEN generated
files compiled first time on my PC, but the "rpc_init()" routine
(which you're supposed to call before calling any other rpc
routines) trashes my stack.  Tell me if you can get this working;
I've asked in all the appropriate newsgroups, but have not recieved
any responces about this.

Another RPC source can be found at:

http://www.netmanage.com/netmanage/products/newtsdk.html

I didn't like this solution since you have to buy all there
products (TCP, etc.) in order to get the RPC stuff to work.

Good luck,

Chris

 
 
 

Connect windows C/application with UNIX C/application

Post by Patrick Cunningha » Thu, 15 Jun 1995 04:00:00


I am currently doing something very similar with Windows NT (via C/C++)  
and OpenVMS running on VAX and ALPHAs.

It doesn't really matter what the to endpoints are running on. A socket  
is a socket is a socket, etc...

There are lots of good examples floating around out there and if you are  
an absolute beginner I would recomment 'Programming WinSock' from SAM's  
Publishing.  It's got a real good introduction to socket programming and  
it comes with C++ source code for a class to wrap around WinSock that  
will make your life *much* easier.

Good luck,
Patrick Cunningham
Karmak, Inc.

 
 
 

1. How to connect a client server application with pocket pc application??

Hi !
I wanna know something about how to connect Client/Server applications
 with Pocket PC application using Embedded VB

To be more precise i wanted some information about the techniques that
 enables communication between an existing client/server application
 and Pocket PC application. I also want to know that how data flows
 between these two applications.
I m looking for an instant reply from ur side.
Regards,
Vikas Singhal

2. How do I check monitor for portrait or long mode?

3. How to connect client server application with pocket pc application??

4. volume

5. Porting Unix X-windows applications to PC/MS Windows

6. Windows Media/IPAQ/Win Me

7. How to call ve.net application in window based c++ application

8. i can't open midi

9. How to execute external DOS applications/batch files within a windows application

10. Porting UNIX applications to Windows NT

11. When the Application Window does not appear, but the application is running ...

12. The application, WMRUNDLL.exe, generated an application error

13. Multiple occurences of the same IIS Web Applications in "COM+ Applications" under WinXP