[cse491] your mail

C. Titus Brown ctb at msu.edu
Tue Sep 29 11:02:45 PDT 2009


On Tue, Sep 29, 2009 at 02:01:31PM -0400, duraira1 at msu.edu wrote:
> Hi,
> I just realised the format of how data given in the client affects my program..
> ?
> >python client.py ?5001 "sdd\n.\nddd"
> 
> In the above case,I got the right answer,
> 
> Recieved from the server: sdd
> <186 arctic:~/cde491 >
> 
> But incase I don't give the quotes,its kinda messy..Should I handle this in the server? Or the client is supposed to enter the data as string?

There aren't any restrictions on how clients of the TCP echo server work, run,
or otherwise take in data -- make it as freeform as you want.

cheers,
--titus
-- 
C. Titus Brown, ctb at msu.edu



More information about the cse491-fall-2009 mailing list