Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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, 04: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, 04:29 PM   #2
Senior Member
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,261

Rep: Reputation: 315Reputation: 315Reputation: 315Reputation: 315
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 01:18 PM
Socket Programming jawadhashmi Programming 4 05-24-2005 04:04 AM
Socket programming maldini1010 Programming 4 02-12-2005 12:16 AM
want help in socket programming valib4u *BSD 2 09-12-2003 12:17 AM > Forums > Linux Forums > Linux - Newbie

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