public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* help needed with socket program
@ 2004-12-02  4:08 naser al rashedi
  2004-12-02  4:40 ` Sriharsha Vedurmudi
  2004-12-02 13:35 ` Eljay Love-Jensen
  0 siblings, 2 replies; 4+ messages in thread
From: naser al rashedi @ 2004-12-02  4:08 UTC (permalink / raw)
  To: gcc-help

Hi All,
I have a problem with this simple TCP client/server program. It has to do following tasks:
Client:
1. Initiate a connection.
2. send a filename to the server.
3. send a password to the server.
4.  send a simple message to the server.
5. Return with a success message.
Server:
1. Wait foe the connection from the client.
2. Create a file by the filename by the client.
3. Save the password.
4. Send a success message after creating and writing to the file.

Thank you in adavnce.
A


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: help needed with socket program
  2004-12-02  4:08 help needed with socket program naser al rashedi
@ 2004-12-02  4:40 ` Sriharsha Vedurmudi
  2004-12-02  4:47   ` Joe Steeve
  2004-12-02 13:35 ` Eljay Love-Jensen
  1 sibling, 1 reply; 4+ messages in thread
From: Sriharsha Vedurmudi @ 2004-12-02  4:40 UTC (permalink / raw)
  To: gcc-help

naser al rashedi wrote:
> Hi All,
> I have a problem with this simple TCP client/server program. It has to do following tasks:
> Client:
> 1. Initiate a connection.
> 2. send a filename to the server.
> 3. send a password to the server.
> 4.  send a simple message to the server.
> 5. Return with a success message.
> Server:
> 1. Wait foe the connection from the client.
> 2. Create a file by the filename by the client.
> 3. Save the password.
> 4. Send a success message after creating and writing to the file.
> 
> Thank you in adavnce.
> A
> 
> 
> 

Understood your problem. But at what stage do you need help? The solution is fairly very simple. Any basic knowledge in Socket programming 
will let you code the solution. If you are looking for someone to do your homework, Im afraid, you are at the wrong place. Anyway, to help 
you get started, check out the following link:

http://www.ecst.csuchico.edu/~beej/guide/net/html/

Regards,
Sriharsha.

-- 
  *****************************
  * Sriharsha Vedurmudi			
  * Software Engineer		
  *
  * Redpine Signals Inc.	
  * Gate #395, Plot 87,88			
  * Sagar Society, Road #2,
  * Banjara Hills,		
  * Hyderabad - 500 034			
  * www.redpinesignals.com	
  *							
  * +91-40-23559911  (Office)
  * +91-98851-37338  (Mobile)
  *****************************

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: help needed with socket program
  2004-12-02  4:40 ` Sriharsha Vedurmudi
@ 2004-12-02  4:47   ` Joe Steeve
  0 siblings, 0 replies; 4+ messages in thread
From: Joe Steeve @ 2004-12-02  4:47 UTC (permalink / raw)
  To: Sriharsha Vedurmudi; +Cc: gcc-help

[-- Attachment #1: Type: text/plain, Size: 935 bytes --]

Sriharsha Vedurmudi <sriharsha.v@redpinesignals.com> writes:
>> I have a problem with this simple TCP client/server program. It
>> has to do following tasks:
>> Client:
>> 1. Initiate a connection.
>> 2. send a filename to the server.
>> 3. send a password to the server.
>> 4.  send a simple message to the server.
>> 5. Return with a success message.
>> Server:
>> 1. Wait foe the connection from the client.
>> 2. Create a file by the filename by the client.
>> 3. Save the password.
>> 4. Send a success message after creating and writing to the file.
>> Thank you in adavnce.
>> A

> programming will let you code the solution. If you are looking
> for someone to do your homework, Im afraid, you are at the wrong
> place.

Unless you mind paying someone for the time they'll spend for your
homework.. ;-) (kidding.., this is not the place for even that)

-- 
A proud GNU user
http://www.joesteeve.tk/ | http://gnukid.shyper.com/

[-- Attachment #2: Type: application/pgp-signature, Size: 188 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: help needed with socket program
  2004-12-02  4:08 help needed with socket program naser al rashedi
  2004-12-02  4:40 ` Sriharsha Vedurmudi
@ 2004-12-02 13:35 ` Eljay Love-Jensen
  1 sibling, 0 replies; 4+ messages in thread
From: Eljay Love-Jensen @ 2004-12-02 13:35 UTC (permalink / raw)
  To: naser al rashedi, gcc-help

Hi naser al rashedi,

Your client/server program(s) seem straightforward enough.

So... what's the problem that you are having with your simple TCP 
client/server program(s)?  Is GCC producing an error that you don't understand?

--Eljay

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-12-02 13:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-02  4:08 help needed with socket program naser al rashedi
2004-12-02  4:40 ` Sriharsha Vedurmudi
2004-12-02  4:47   ` Joe Steeve
2004-12-02 13:35 ` Eljay Love-Jensen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).