Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Mar 14th, 2005, 7:45 PM   #1
d_vin
Newbie
 
Join Date: Mar 2005
Posts: 2
Rep Power: 0 d_vin is on a distinguished road
sockets help!

hey guys - i need some help with this networking class i'm taking right now. the assignment looks kind of lengthy, but i believe it is pretty basic. I am having a tough time getting started, so I would really appreciate it if one of you guys could help me out and point me in the right direction
Thank you boys!

Here are the specs:

-basically i have to write a multi-threaded program which has a main thread which creates and starts two threads, a SenderThread and a ReceiverThread.
-using sockets, the sender thread periodically sends a message, every 3 seconds via UDP to a port, any one that i choose, on the local host
-the receiver thread monitors the port chosen above, for incoming messages and prints any messages it receives on the screen

this is not the whole assignment, but if i could get some help getting started on this part to get me going in the right direction, i'd really appreciate it. thanks!

Last edited by d_vin; Mar 14th, 2005 at 7:57 PM.
d_vin is offline   Reply With Quote
Old Mar 14th, 2005, 8:04 PM   #2
Mad_guy
Hobbyist Programmer
 
Mad_guy's Avatar
 
Join Date: Oct 2004
Location: Sandstorm, Techno Club
Posts: 239
Rep Power: 4 Mad_guy is on a distinguished road
Send a message via AIM to Mad_guy Send a message via MSN to Mad_guy
Well, a good resource on Sockets is Beej's guide to network programming.

You should pick up on it pretty fast, I have way more issues with that article. ¬_¬;...
Mad_guy is offline   Reply With Quote
Old Mar 15th, 2005, 5:41 PM   #3
d_vin
Newbie
 
Join Date: Mar 2005
Posts: 2
Rep Power: 0 d_vin is on a distinguished road
thanks mad_guy

hey mad_guy - thanks for the website, it's pretty helpful
d_vin is offline   Reply With Quote
Old Mar 15th, 2005, 6:44 PM   #4
Mad_guy
Hobbyist Programmer
 
Mad_guy's Avatar
 
Join Date: Oct 2004
Location: Sandstorm, Techno Club
Posts: 239
Rep Power: 4 Mad_guy is on a distinguished road
Send a message via AIM to Mad_guy Send a message via MSN to Mad_guy
Yeah, it's a great resource, but It does make a great deal of sense to me seeing how I don't really read things fully, only skim through them and experiment on my own for a while.
Mad_guy is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 9:46 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC