LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-23-2006, 12:56 PM   #1
nethunter
LQ Newbie
 
Registered: Feb 2005
Posts: 16

Rep: Reputation: 0
Message passing thru LAN in Linux.


Hi,
Iam a newbie to the Linux.Is it possible to send a string typed on one computer to another computer connected on the LAN using commands and ehternet card. If so Plz giv the solution. Thx.
 
Old 01-23-2006, 01:07 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
The write command should do what you want - have a look at the man page with `man write`.
 
Old 01-24-2006, 07:22 AM   #3
nethunter
LQ Newbie
 
Registered: Feb 2005
Posts: 16

Original Poster
Rep: Reputation: 0
Thx for giving the command but I need to know the comlpete working of the 'write' command ie what 'c' functions will it make use of. Iam trying to understand how a msg moves from one system to another using ethernet. Where can I get all the detailed info about the headers appended and functions used in completing the task.
 
Old 01-24-2006, 11:49 AM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Taking each part of your post...

- Use `man write` or `man talk` to get the complete workings of the command;
- Use the strace command to see what the command is doing, e.g. `strace write user [ttyname]`;
- Use ethereal to capture the packets to see what traffic is actually sent.

It may be that talk or write don't do what you need - hence the man page reference...
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can you help me about Message Passing Interface (MPI) in Red Hat? danilux Red Hat 0 11-11-2004 11:49 AM
passing passing variable in Java as reference djgerbavore Programming 3 11-10-2004 02:18 PM
PASSING APACHE (Live) REQUEST TO IIS on LAN sajidfiaz Linux - Networking 2 05-19-2004 09:03 AM
want some help regarding usage of message passing interface student_linux Linux - Software 0 03-24-2004 12:34 PM
lan net message bit7 Linux - Networking 4 02-03-2004 02:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:38 PM.

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