LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-10-2008, 03:42 AM   #1
pavan_iiith
LQ Newbie
 
Registered: Mar 2008
Posts: 1

Rep: Reputation: 0
Question Linux Netwok programming server with multiple clients


Hi all!
I'm new to netwok programming.
I wrote a server code to handle multiple clients on the same port and the
corresponding client code.
I listen and accepts client connects upto a number and stop listening.
When I send message from server to clients I could send only one message
to one client and for the remaining messages receivers are just taking
null values and nothing is being printed..
I tried debug but of no use..
Is it that you can only send one msg to one client.
Can some1 help me to sort this out
 
Old 03-10-2008, 08:50 PM   #2
irish_rover
Member
 
Registered: Sep 2002
Location: IN, USA
Distribution: Debian, Endian FW
Posts: 368

Rep: Reputation: 30
I'm probably not the person to answer the final question, but....... the person that can will need more info. Be as specific as possible. I'm guessing that somebody with more experience with this can help, but will need to know what protocol you are using at the very minimum. The more details the better.
 
Old 03-10-2008, 09:13 PM   #3
felixc
Member
 
Registered: Jul 2005
Location: Canada
Distribution: Ubuntu, Debian
Posts: 94

Rep: Reputation: 15
Definitely. As a minimum we'd need to know what programming language you're using, and ideally see the code. Some questions: is your sever sending nulls, or are the clients just printing nulls because nothing is being received? How did you try debugging your app, and are you certain your server is even trying to send more messages? There is definitely no "one message per client" limitation.

Also, I suspect this should be in the programming forum, not newbie.
 
  


Reply

Tags
clients, multiple, server


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
multiple clients for echo server msriram_linux Linux - Networking 1 12-05-2007 03:27 PM
multiple-echo-clients-server msriram_linux Linux - Networking 2 12-05-2007 12:10 PM
problem in connecting Multiple clients to socket server in linux M007 Linux - Server 1 10-31-2007 11:52 PM
server which accepts multiple clients suresh_rupineni Linux - Server 1 10-19-2007 01:46 AM
Mail Server for Multiple Hosting Clients bytebrowser Linux - Networking 2 01-24-2005 03:56 PM


All times are GMT -5. The time now is 07:28 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