LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 11-24-2005, 09:18 AM   #1
bicycle
LQ Newbie
 
Registered: Nov 2005
Posts: 1

Rep: Reputation: 0
client/server question (with sockets)


OK
Trying to create a client/server application using sockets with TCP in C.
The client is not supposed to read from disk. It only takes input from user and sends it to the server.

Now, lets say the user types 'pcwd' in the client which is interpreted as print current working directory. The client then sends a request to the server to get that info. Is there a way by reading the stream to find this information? Or any other way the server can find it?

Thanks. (is this question unclear?)

Last edited by bicycle; 11-24-2005 at 09:19 AM.
 
Old 11-24-2005, 01:26 PM   #2
primo
Member
 
Registered: Jun 2005
Posts: 542

Rep: Reputation: 34
Mmmm yes. Try to sketch it some more. Looks like you are asking for the algorithm yourself. Be more precise. By the way, it's possible all you've said.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sockets Programing Client/Server ashucool83 Programming 9 09-30-2005 02:43 PM
C sockets question borgy_t Programming 6 03-12-2005 10:28 PM
sockets question sibtay Programming 2 08-23-2004 12:51 AM
Server/Client-commucation via TCP-Sockets cYbORg Programming 5 05-18-2003 06:01 PM
Question: Linux mySQL server + Win32 client ascii2k Linux - General 3 08-29-2001 11:08 AM


All times are GMT -5. The time now is 01:39 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration