DCSportbikes.net  
» Help Support .NET!
DCSportbikes Premier Membership for 25$ per year. Discounts! Click here for full information.

Now available in the .NET Shop:



Get your DCSBN Gear!
» Shoutbox
Sorry, only registered users have the ability to use our real-time shoutbox to chat with other members.

Register now, it's free!
» Online Users: 525
3 members and 522 guests
fxc3700, nootherids, Sal_the_man
Most users ever online was 4,519, September 2, 2015 at 03:26 AM.
Go Back   DCSportbikes.net > Non-Sportbike Forums > Non-Sportbike Chat

Reply
LinkBack Thread Tools
Need help from network programmer dudes - send / rec UDP packets
Unread
  (#1)
GP Champ
 
LooseTooth's Avatar
 
Posts: 3,521
Join Date: October 24, 2006
Location: Falls Church
Need help from network programmer dudes - send / rec UDP packets - October 15, 2009, 04:29 PM

OK, I just found out I have to quickly write a program that is a little out of my range. I usually write programs like A = B + C. This one involves networking

I have to show up at a remote area and have this work. Here is the information I've been given:

-Broadcast some information about my system using UDP/IP
-I'm the client.
-They are the server.
-Both IPs given.
-Their port is given.

I about have my program written. I just have to map my data into the 'datagram' I'll be sending.

My question really is, is there an existing set of software that can decode UDP and display the data on the screen? I want to be able to test it with two computers using the same ports and IPs because all of this is hardcoded.

Or do I have to write another program using the recv() function to test my set-up?


"Start where you are. Use what you have. Do what you can." - Arthur Ashe
  Send a message via AIM to  
Reply With Quote
Unread
  (#2)
GP Champ
 
LooseTooth's Avatar
 
Posts: 3,521
Join Date: October 24, 2006
Location: Falls Church
October 15, 2009, 05:18 PM

I found some stuff around here that I can make work. It still would be nice if there was something canned that could do the endian swapping and display the data. That way I have more time to surf .net.


"Start where you are. Use what you have. Do what you can." - Arthur Ashe
  Send a message via AIM to  
Reply With Quote
Reply


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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Powered by vBadvanced CMPS v3.2.3


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0
vBulletin Skin developed by: vBStyles.com
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest 2002-2010 by DCSportbikes.net. DCSportbikes.net is owned by End of Time Studios, LLC.