-   Linux - Newbie (
-   -   Socket Programming (

mselaledi 09-02-2010 03:10 PM

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.

eSelix 09-02-2010 03:29 PM

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

All times are GMT -5. The time now is 11:29 PM.