Serevr Client Communication Programming

Posted on 2000-01-05
Medium Priority
Last Modified: 2010-04-22
I'm looking for source code for Linux netwrok programming.  The program is act like this, when the client register the user name, then data will pass thru network to server.  Then, the server will verify the data.  Easy programming.  But dunno how  to start??
Question by:HuangAun
LVL 51

Accepted Solution

ahoffmann earned 100 total points
ID: 2327390
why not looking at /usr/src/linux/net ?
or http://www.linuxprogramming.com/ http://www.programmersheaven.com/

Expert Comment

ID: 2341279
      for server see the man pages for socket in linux. create a socket , then bind that socket (see bind man pages) then put the server in the listenning mode (see listen man pages) then wait for the client to login to server(see accept man pages) .
         for client side do the following steps.
          -create a socket
          -connect to server
          - use write or send for sending the user name
          -wait for server response(use recv routine)

for more information visit the following web site

Featured Post

Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

Question has a verified solution.

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

Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
The Relationships Diagram is a good way to get an overall view of what a database is keeping track of. It is also where relationships are defined. A relationship specifies how two tables connect to each other. As you build tables in Microsoft Ac…
SQL Database Recovery Software repairs the MDF & NDF Files, corrupted due to hardware related issues or software related errors. Provides preview of recovered database objects and allows saving in either MSSQL, CSV, HTML or XLS format. Ensures recov…
Suggested Courses

601 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