Solved

tcp  client-server example

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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

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 Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

895 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now