![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Mar 2005
Posts: 2
Rep Power: 0
![]() |
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. |
|
|
|
|
|
#2 |
|
Hobbyist Programmer
|
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. ¬_¬;... |
|
|
|
|
|
#3 |
|
Newbie
Join Date: Mar 2005
Posts: 2
Rep Power: 0
![]() |
thanks mad_guy
hey mad_guy - thanks for the website, it's pretty helpful
![]() |
|
|
|
|
|
#4 |
|
Hobbyist Programmer
|
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.
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|