LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-14-2009, 12:02 PM   #1
mrtedweb
LQ Newbie
 
Registered: May 2009
Posts: 11

Rep: Reputation: 0
Linux COM?


Hello everyone,

Is there an equivalent to Windows COM? I have two applications that need to talk to each other across a network. I have no idea where to begin and really hope somebody can answer my question.

I've been assigned the task to redesign this application from the ground up and I have been considering Linux with Mono as a viable option. Any suggestions?


Thanks!
 
Old 05-14-2009, 12:51 PM   #2
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
First you really need to give some details.

What are you trying to do? What distro are you using?

If you are just trying to transfer data, ssh is easy in most distros.

I do not use Win. I assume that by COM you mean com ports. In linux you need to look at your /dev/ttySx (where x is a number).
 
Old 05-14-2009, 01:00 PM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,685

Rep: Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972
Quote:
Originally Posted by mrtedweb View Post
Hello everyone,

Is there an equivalent to Windows COM? I have two applications that need to talk to each other across a network. I have no idea where to begin and really hope somebody can answer my question.

I've been assigned the task to redesign this application from the ground up and I have been considering Linux with Mono as a viable option. Any suggestions?


Thanks!
Hard to suggest anything, really, given what information we have. You have two applications that need to talk across the network?? How? What protocol? What port? What do the applications DO? What does this network traffic do?

The question is a bit vague....Mono is a .NET implementation, just another programming language.
 
Old 05-15-2009, 09:42 AM   #4
mrtedweb
LQ Newbie
 
Registered: May 2009
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks to everyone for your help!

I finally realized I need socket programming (thanks to Sergei Steshenko). My client is looking for a magic bullet that will reduce their current costs as well as help with maintenance issues. Obviously my first thought was Linux (I'm starting with Ubuntu). I'm needing a little push to get me started as the current application was built with Visual Basic (ugh).
 
Old 05-15-2009, 09:59 AM   #5
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
netcat is good for quick-and-dirty data transfer within a network.

man netcat
__________________

i am confused by how com plays into this. microsoft command object modules are atiquated self-contained dos executables replaced by windows pe (portable executable) *.exe's.

linux uses elf (executable and linking format).

__________________

oh wait you are talking about com port (usually refered to as a serial port) ?
Quote:
The serial ports are named ttyS0, ttyS1, etc. (and usually correspond respectively to COM1, COM2, etc. in DOS/Windows). The /dev directory has a special file for each port. Type "ls /dev/ttyS*" to see them. Just because there may be (for example) a ttyS3 file, doesn't necessarily mean that there exists a physical serial port there.
i presumed you meant you are connecting via an ethernet network.

Last edited by schneidz; 05-15-2009 at 10:17 AM.
 
  


Reply

Tags
com, linux



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration