LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Hardware > Linux - Embedded
User Name
Password
Linux - Embedded This forum is for the discussion of Linux and embedded devices.

Notices

Reply
 
Thread Tools
Old 12-31-2008, 05:22 AM   #1
ramya_ts
LQ Newbie
 
Registered: Jul 2008
Posts: 2
Thanked: 0
problem in receiving data in udp sockets


[Log in to get rid of this advertisement]
hi all


i am writing simple udp socket cleint/server program in linux. i am transmitting through wireless lan in infrastructure mode using the accesss points.

i am sending data from laptop1 to laptop2.then laptop1 is able to send the data to the laptop2.

if i run the same program in reverse i.e laptop2 sending data to laptop1.laptop1 is unable to receive data it is waiting at recvfrom() but laptop2 is successfully sending data.


i am not getting where the error is?
ramya_ts is offline     Reply With Quote
Old 01-07-2009, 03:12 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Warszawa, Poland
Distribution: Debian
Posts: 9,105
Thanked: 23
You should get a sniffer and check if the packets get to laptop1. The interface statistic is a good indicator, too, if you don't have other options.
Mara is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
How to optimise file transfer through UDP sockets? montylee Programming 12 07-03-2008 02:31 AM
Need help with UDP sockets in c++ Shautieh Programming 5 02-20-2008 03:20 PM
Sending files over udp sockets in C raszagal Programming 9 11-27-2004 12:49 PM
Only receiving UDP packets, no TCP erevlehdeux Linux - Networking 1 04-23-2004 08:36 PM
sockets, UDP, using select() Pres Programming 3 08-22-2003 10:41 AM


All times are GMT -5. The time now is 01:34 AM.

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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration