Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 2008 > C# 2008 aka C# 3.0
|
C# 2008 aka C# 3.0 Discuss the Visual C# 2008 (aka C# 3.0) language
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2008 aka C# 3.0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 29th, 2008, 05:48 PM
Friend of Wrox
 
Join Date: Sep 2007
Posts: 169
Thanks: 7
Thanked 2 Times in 2 Posts
Default How to get 2 program to comunicate with each other

Hi

I have to make a chat type program that sends encrypted stuff back and forth.

I am planning to have my old assignment with all the ciphers be the lead program and then make a second program to receive stuff back and forth.

Or I can just use threads and have 2 instances of the same program. I will figure this out later.

The thing is I never had 2 programs talking to each other back and forth before. I always wondered how to do it. I think we have to use sockets or something but I am not sure.

So any tutorials on this?

 
Old September 29th, 2008, 07:02 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

You can use .NET remoting to talk between apps on different machines. If it's only for two apps on the same system you could use cross app-domain communications, however remoting would be more flexible if you want to move one app to another machine.

-Peter
compiledthoughts.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
Program to use for c# Doom C# 2005 2 January 4th, 2008 04:52 AM
need help! mean program xociology C++ Programming 3 March 19th, 2007 06:17 PM
anyone know of a program..... bammurdead C++ Programming 1 November 6th, 2005 08:16 PM
Setup Project: Program not added in Start>Program arif_1947 VS.NET 2002/2003 2 March 31st, 2005 06:40 AM
Start a program inside another program Silje Classic ASP Professional 1 November 16th, 2004 02:08 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.