Page 1 of 2

Basic UDP chat with source

Posted: Thu Feb 23, 2012 7:23 pm
by Vikhedgehog
Hey guys

This is my basic UDP chat i've made in a few hours to practise network coding since im planning to make UDP games. Feel free to download it and add more features to it cooll;

The link is adf.ly because i need to earn a bit money, it only takes 5 seconds of your life and you support me :D

http://adf.ly/5jDZO
Capture.PNG

Re: Basic UDP chat with source

Posted: Thu Feb 23, 2012 7:32 pm
by MrAksel
Who is on? How do you speak with others? Over the local network using the broadcast IP?

Re: Basic UDP chat with source

Posted: Thu Feb 23, 2012 7:36 pm
by Dummy1912
yea, how it works
nobody's on :( how do we contact to others :lol:

Re: Basic UDP chat with source

Posted: Thu Feb 23, 2012 7:36 pm
by Vikhedgehog
MrAksel wrote:
Who is on? How do you speak with others? Over the local network using the broadcast IP?
The chat is local (255.255.255.255)

If you want, i can try to make a TCP one so we can all talk :)

Re: Basic UDP chat with source

Posted: Thu Feb 23, 2012 7:38 pm
by Dummy1912
yea awesome :)

Re: Basic UDP chat with source

Posted: Thu Feb 23, 2012 7:42 pm
by Vikhedgehog
If the network and computers are fast, this can be used in companies to talk over the local network. All messages appear instantly and the app uses multi threading so the app won't lag when sending the message.

Re: Basic UDP chat with source

Posted: Thu Feb 23, 2012 7:43 pm
by MrAksel
Vikhedgehog wrote:
MrAksel wrote:
Who is on? How do you speak with others? Over the local network using the broadcast IP?
The chat is local (255.255.255.255)

If you want, i can try to make a TCP one so we can all talk :)
You can talk with everyone with UDP too. You just need a list on each client with who is connected.

Re: Basic UDP chat with source

Posted: Thu Feb 23, 2012 7:46 pm
by Vikhedgehog
MrAksel wrote:
Vikhedgehog wrote:
MrAksel wrote:
Who is on? How do you speak with others? Over the local network using the broadcast IP?
The chat is local (255.255.255.255)

If you want, i can try to make a TCP one so we can all talk :)
You can talk with everyone with UDP too. You just need a list on each client with who is connected.
Will it work if i forward the port?

Re: Basic UDP chat with source

Posted: Thu Feb 23, 2012 7:46 pm
by MrAksel
Yes Vik, but forward UDP port 54545 not TCP port 54545

Just one improvement, use IPAddress.Broadcast.ToString() to get the broadcast address, I think it may vary from router to router.

Re: Basic UDP chat with source

Posted: Sun Mar 04, 2012 6:10 pm
by Wusami
Reupload the project?