|
-
Aug 19th, 2005, 06:16 PM
#1
Thread Starter
New Member
Multiple user chat using UDP
Hey there!
Alright, what I am basicly trying to do is to make a server/multiple client chat-like program, but using UDP... And no, i can't use TCP, it's a school project , but I have no ideas how to do it ... I do for TCP, but not for UDP ... so any help here would be apreciated !
thks !
JP
-
Aug 20th, 2005, 03:49 PM
#2
Lively Member
Re: Multiple user chat using UDP
What language and socket type are you using?
TCP requires a connection as you may know, but UDP requires no connection at all, you send your data right out. UDP packets may be lost or arrive in an odd order since they don't have the checking that is associated with TCP.
If you are using a winsock-like object, just make sure to bind to a local port, then send or listen for data, no need to .connect("bleh.com",80) or anything.
-
Aug 23rd, 2005, 01:36 PM
#3
Thread Starter
New Member
Re: Multiple user chat using UDP
Yes, that's the problem, since there is no connection thing in UDP, i just can't find a way to make this work... any source codes or site or anything would be nice ...
Thks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|