Solved

tcp  client-server example

Posted on 2001-06-06
3
14,768 Views
Last Modified: 2007-11-27
Hi,
where can I find a very simple example of tcp client-server text aplication?

Thanks
0
Comment
Question by:jjescri
3 Comments
 
LVL 1

Accepted Solution

by:
Haho earned 50 total points
ID: 6162211
u can learn to write a simple client server app here at:
http://www.ecst.csuchico.edu/~beej/guide/net/

excellent guide..
0
 
LVL 16

Expert Comment

by:The--Captain
ID: 6163213
"Java in a Nutshell" and "Programming Perl" by O'Reilly both have examples of how to do this in those respective languages.  If you want to learn it in C, I'd recommend "Unix Network Programming" (the publisher eludes me - someone stole my copy).

You might want to link this into one of the programming TAs with a zero-point question that links back here - I'm sure there are plenty of folks there who could post actualy code examples...

If you're ambitious, grab the source for 'finger' or some other simple text-based client/server - that should provide more than enough example...

-Jon

0
 

Expert Comment

by:oresteatt
ID: 7528711
Here's an example on TCP/IP Socket programming in Java:

www.seas.upenn.edu/~ross/book/apps/sockettcp.htm
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question