Solved

tcp  client-server example

Posted on 2001-06-06
3
14,773 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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 video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

830 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