LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-04-2004, 04:19 PM   #1
XTF
LQ Newbie
 
Registered: Jun 2004
Posts: 4

Rep: Reputation: 0
UDP server with socket listening on all IP addresses


Hi,

I've got a self-written server that listens with one UDP socket on all IP addresses/interfaces. When there is only one normal IP address, this works fine.
But when there are more normal IP address, it doesn't.
The client sends a request to the first IPA, but the server sends the response from the second IPA, which the client doesn't expect (and thus ignores).
Is there a way to send a packet from a specified IPA (with sendto)?
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Could not bind listening socket chabotrobert Linux - Networking 7 02-25-2024 05:19 PM
Listening socket not released immediately Xagafinelle Programming 4 08-20-2004 06:28 PM
How to receive UDP and ICMP packets, by one UDP socket(PMTUD) myself_rajat Linux - Networking 0 05-28-2004 06:43 AM
NTP listening on UDP+TCP(!)/123 hugohindemith Linux - Networking 4 12-15-2003 11:11 AM
Xvfb listening to all IP addresses? ericcarlson Linux - General 0 09-10-2002 06:30 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:26 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration