Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-02-2010, 03:10 PM   #1
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
Senior Member
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,248

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



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 05:49 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration