Solved

tcp  client-server example

Posted on 2001-06-06
3
14,791 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Are You Using the Best Web Development Editor?

The worlds of web hosting and web development are constantly evolving. Every year we see design trends change, coding standards adapt and new frameworks/CMS created. With such a quick pace of change it’s easy to get lost trying to keep up.

See if your editor made the list.

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

626 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