LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-02-2010, 03:10 PM   #1
mselaledi
LQ Newbie
 
Registered: Jun 2010
Posts: 5

Rep: Reputation: 0
Socket Programming


Please help. I am running two independant UDP Socket application on seperate command windows. These application read from different port numbers i.e Application read UDP Port A and Application B read UDP Port B, and the foward the newly read data to different ports. Application A send via UDP Port C and Application B via UDP Port D.

When I test the application independently, they work fine, but when I run the simultenously only one application is able to receive data on the Receive UDP port. The other application does not respond. Please note that this is dependant on which application receives data first.

I am running these application on Ubuntu 9.04. Can anyone help please, what could be the problem.
 
Old 09-02-2010, 03:29 PM   #2
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Kubuntu
Posts: 1,191

Rep: Reputation: 301Reputation: 301Reputation: 301Reputation: 301
How do you select ports? A, B, C, D are sure different? The best if you show source.
 
  


Reply

Tags
programming


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
Socket programming in c daYz Programming 10 02-05-2008 12:18 PM
Socket Programming jawadhashmi Programming 4 05-24-2005 03:04 AM
Socket programming maldini1010 Programming 4 02-11-2005 11:16 PM
want help in socket programming valib4u *BSD 2 09-11-2003 11:17 PM


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