LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (http://www.linuxquestions.org/questions/programming-9/)
-   -   server client program (http://www.linuxquestions.org/questions/programming-9/server-client-program-681439/)

swift2008 11-05-2008 11:57 PM

server client program
 
Hi all
can anybudy will provide client server programming code..(tcp/ip)
the code should work as server and also as client..
i would like to run this program between two machines..
they should communicate with eachother.

nathacof 11-06-2008 12:26 AM

I'm sure you can do it yourself, but why, what purpose do you want this client and server to serve? This kinda sounds like home work so...

Check out the following page, http://en.wikipedia.org/wiki/Client-server.

Also check out, http://tldp.org/LDP/LG/issue74/tougher.html

k tnx bai :D

centos82 11-06-2008 12:27 AM

I got an error message because my response was too short so I wrote this sentence, but my original response was:
what?

swift2008 11-06-2008 12:42 AM

can anybudy help me with a appropriate program(code)

abolishtheun 11-06-2008 01:04 AM

Here: a server and a client

chrism01 11-06-2008 01:36 AM

Which lang, C, Perl, etc ?
PS @abolishtheun: nice answer ;)
but I think he wants bi-directional servers
I could be wrong, its not clear...

j-ray 11-06-2008 02:07 AM

there is a nice module in perl available on cpan called Net::EasyTCP

swift2008 11-06-2008 02:09 AM

Quote:

Originally Posted by chrism01 (Post 3333169)
Which lang, C, Perl, etc ?
PS @abolishtheun: nice answer ;)
but I think he wants bi-directional servers
I could be wrong, its not clear...

i need it in "c"

swift2008 11-06-2008 02:11 AM

Quote:

Originally Posted by abolishtheun (Post 3333140)
Here: a server and a client

what it is..
one apache tomcat server... and other is firefox..?

chrism01 11-06-2008 02:15 AM

This is where you start:
http://beej.us/guide/bgnet/

nehaandrew 11-26-2008 12:12 PM

Google for it buddy. You should find plenty of them online.
:)

Linux


All times are GMT -5. The time now is 12:36 AM.