On Sat, Nov 15, 2008 at 10:39 AM, Siddhant Jain
<[EMAIL PROTECTED]> wrote:
> Hi Vinayak
> I tried it using the normal socketprogramming in shell script
> I was able to create a network btw the two server and d client but the
> problem that i was facing was that
> the client wasn able to send anything back to the server
> as in it was just reading the script provided for it at the socket apart
> form that it wasnt able to do anything
> that was my main problem
> as in how shd i go for it
> is it right to remain in shell socket programming or shd move on to
> something like java or u say c
> for developing the network

Depends on what you are trying to make. Normally, everything that you
write to stdout goes over the network (=> echo should do the trick).
If you want to make something simple (no/less state information etc),
probably script/inetd would serve your purpose. In fact, you even use
other scripting languages like perl. If you want to go to the next
level and understand how socket programming really works (about the
syscalls()), socket programming in C would give you that exposure.


Sharad

--~--~---------~--~----~------------~-------~--~----~
[EMAIL PROTECTED] mailing list -- group http://groups.google.com/group/iitdlug
-~----------~----~----~----~------~----~------~--~---

Reply via email to