473,322 Members | 1,538 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Multiple UDP Binds to the same ip:port address?

Thanks for reading.

I am trying to figure out how to do multiple UDP binds to the same
ip:port address on linux. The reason for this is out software takes out
the initial bind to receive messages but we also want a test tool that
will receive the same messages and print them out in english so we can
verify the messages being sent. I can't figure out how to make this
work. I am very new to c++ and very new to UDP sockets. Is there a UDP
function call to allow this?

Any help will be greatly appreciated
Thanks
Leon

May 16 '06 #1
4 2844
subaruwrx88011 wrote:
Thanks for reading.

I am trying to figure out how to do multiple UDP binds to the same
ip:port address on linux. The reason for this is out software takes out
the initial bind to receive messages but we also want a test tool that
will receive the same messages and print them out in english so we can
verify the messages being sent. I can't figure out how to make this
work. I am very new to c++ and very new to UDP sockets. Is there a UDP
function call to allow this?

Any help will be greatly appreciated
Thanks
Leon


You're in the wrong newsgroup. This group discusses the C++ language
proper, whereas you want to know about network programming. For what it
on-topic here and for a list of potential groups to post in, please see
this FAQ:

http://www.parashift.com/c++-faq-lit...t.html#faq-5.9

Cheers! --M

May 16 '06 #2
Sorry.

I thought since I was programming in c++ someone here might be able to
help.

Leon

May 16 '06 #3
subaruwrx88011 wrote:
Sorry.

I thought since I was programming in c++ someone here might be able to
help.


They might be able to, but they shouldn't. Different groups exist to
support different topics and specializations, and while there are some
gray areas when it comes to choosing which group is most apropos, it
seems clear that your question falls outside the (fuzzy) boundaries of
this group, despite the fact that you are using C++.

To be on-topic for this group, according to the previously mentioned
FAQ, "your question must be answerable by looking into the C++ language
definition as determined by the ISO/ANSI C++ Standard document, and by
planned extensions and adjustments." Clearly sockets do not qualify
since the C++ Standard knows nothing of them.

Cheers! --M

PS, Please quote the message you are replying to. It makes it easier
for everyone to follow the conversation.

May 16 '06 #4
subaruwrx88011 wrote:
Thanks for reading.

I am trying to figure out how to do multiple UDP binds to the same
ip:port address on linux. The reason for this is out software takes out
the initial bind to receive messages but we also want a test tool that
will receive the same messages and print them out in english so we can
verify the messages being sent. I can't figure out how to make this
work. I am very new to c++ and very new to UDP sockets. Is there a UDP
function call to allow this?


See my reply to your posting in comp.os.linux.networking. Includes a
full example in C. Followup set to c.o.l.n.

--
Alan Johnson
May 17 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Juha Suni | last post by:
I was faced with a difficult configuration issue a few days ago with another companys web service. In short, their web service requires the user to login on their page before their service can be...
21
by: Alexander N. Spitzer | last post by:
If I have a machine with 3 virtual IP addresses (192.168.1.), how can I start 3 instances of the same RMI application (each started with different properties/configs), each listening on the port...
7
by: none | last post by:
I want to determine the outside (non local, a.k.a. 127.0.0.x) ip addresses of my host. It seems that the socket module provides me with some nifty tools for that but I cannot get it to work...
7
by: Privacy Advocate | last post by:
//crossposted to: comp.lang.javascript, alt.comp.lang.javascript in an effort to get factual answers from JavaScript experts// Simply put; Is it possible to obtain the real (actual) IP address of...
12
by: Souljaz | last post by:
Hi, how to find IP address. Thanks
1
by: tarak | last post by:
Hi, I am working on a site that wants to provide facility to check whether http port and ftp port of given ip address is working or not. I will provide an ip address i need to check status of all...
0
by: =?Utf-8?B?Z2VvZ3J1dmVu?= | last post by:
Just migrated an ASP.NET 1.1 application to ASP.NET 2.0 and could no longer connect to SQL Server 2000. It uses TCP/IP with a non default Port Number. The problem is fixed by adding the TCP/IP...
1
by: KiranJyothi | last post by:
Hi, I am a new bee for networking. Can anyone please explain to me the difference between a port number and IP address with some example? Thanks in advance. -KiranJyothi
15
by: Mike | last post by:
Hi ASP Gurus, Please help me solving my problem. I am trying to get the clients IP address but I am not able to do it successfully. I have tried: Request.ServerVariables("http_user_agent")...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.