LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded
User Name
Password
Linux - Embedded This forum is for the discussion of Linux and embedded devices.

Notices

Reply
 
LinkBack Search this Thread
Old 12-31-2008, 05:22 AM   #1
ramya_ts
LQ Newbie
 
Registered: Jul 2008
Posts: 2

Rep: Reputation: 0
problem in receiving data in udp sockets


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?
 
Old 01-07-2009, 03:12 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,393

Rep: Reputation: 107Reputation: 107
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.
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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 07:00 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
Open Source Consulting | Domain Registration