Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-28-2011, 07:25 AM   #1
LQ Newbie
Registered: Jul 2011
Posts: 13

Rep: Reputation: Disabled
Networking two PC with TCP appln




Last edited by chethankp; 08-05-2011 at 11:10 AM.
Old 07-28-2011, 12:11 PM   #2
LQ 5k Club
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,397
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Since you seem to be a novice at this, I suggest that you start by using HTTP. I make this suggestion because you will start out with a good number of ready-made clients and servers against which to develop and test the peer component. You can use CGI to develop the server-side code, all the while testing with any conventional web browser. Once your server-side code is fully developed, you can create your own client side code, testing against the known-good server. Also, HTTP is already fully specified, transports well in most environments, is fairly lightweight, and has a large base of example code from which to start. Trying to develop both ends of a client/server system concurrently is a recipe for immense frustration, especially if you are not equipped with a good set of tools, knowledge and experience. At some point, you will need to develop socket level code. A very good primer on that subject is Beej's Guide to Network Programming, which although targeted to C programmers, should be conceptually applicable to Java.

--- rod.
Old 07-28-2011, 01:17 PM   #3
Wim Sturkenboom
Senior Member
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
You can search the web for some java examples. If your familiar with java, go for it; on less hurdle to take.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
suitable GUI for this kind of appln xaler Linux - Software 2 07-09-2009 03:22 AM
TCP networking problem stioanid Linux - Networking 1 03-09-2009 03:22 PM
Spikes in TCP Networking saintt Linux - Networking 0 10-29-2003 04:30 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:59 PM.

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