Basic UDP chat with source

If you have completed an application and wish to share the complete source/project files with everyone then please post it in here. Source-code files only, no tutorials.
18 posts Page 1 of 2
Contributors
Vikhedgehog
VIP - Donator
VIP - Donator
Posts: 812
Joined: Fri Nov 05, 2010 6:24 pm

Basic UDP chat with source
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
You do not have the required permissions to view the files attached to this post.
User avatar
MrAksel
C# Coder
C# Coder
Posts: 1758
Joined: Fri Mar 26, 2010 12:27 pm

Re: Basic UDP chat with source
MrAksel
Who is on? How do you speak with others? Over the local network using the broadcast IP?
LMAOSHMSFOAIDMT
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;


Over 30 projects with source code!
Please give reputation to helpful members!

Image
Image
User avatar
Dummy1912
VIP - Donator
VIP - Donator
Posts: 1969
Joined: Sat Aug 21, 2010 2:17 pm

Re: Basic UDP chat with source
Dummy1912
yea, how it works
nobody's on :( how do we contact to others :lol:
Last edited by Dummy1912 on Thu Feb 23, 2012 7:36 pm, edited 1 time in total.
visit us on:


http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
Vikhedgehog
VIP - Donator
VIP - Donator
Posts: 812
Joined: Fri Nov 05, 2010 6:24 pm

Re: Basic UDP chat with source
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 :)
User avatar
Dummy1912
VIP - Donator
VIP - Donator
Posts: 1969
Joined: Sat Aug 21, 2010 2:17 pm

Re: Basic UDP chat with source
Dummy1912
yea awesome :)
visit us on:


http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
Vikhedgehog
VIP - Donator
VIP - Donator
Posts: 812
Joined: Fri Nov 05, 2010 6:24 pm

Re: Basic UDP chat with source
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.
User avatar
MrAksel
C# Coder
C# Coder
Posts: 1758
Joined: Fri Mar 26, 2010 12:27 pm

Re: Basic UDP chat with source
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.
LMAOSHMSFOAIDMT
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;


Over 30 projects with source code!
Please give reputation to helpful members!

Image
Image
Vikhedgehog
VIP - Donator
VIP - Donator
Posts: 812
Joined: Fri Nov 05, 2010 6:24 pm

Re: Basic UDP chat with source
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?
User avatar
MrAksel
C# Coder
C# Coder
Posts: 1758
Joined: Fri Mar 26, 2010 12:27 pm

Re: Basic UDP chat with source
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.
LMAOSHMSFOAIDMT
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;


Over 30 projects with source code!
Please give reputation to helpful members!

Image
Image
User avatar
Wusami
New Member
New Member
Posts: 21
Joined: Mon Feb 13, 2012 8:00 pm

Re: Basic UDP chat with source
Wusami
Reupload the project?
18 posts Page 1 of 2
Return to “Source-Code”