Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

multi form stuff

Status
Not open for further replies.

LoneRanger123

Programmer
Dec 19, 2000
62
0
0
GB
Right, heres the background
im trying to create an MSN Messenger, Chat program.

I seem to have a few options

1)Use a central UDP connection, and send all data thru that

2)have a central 1 for detecting incoming connections, incoming connections give there local IP this then opens a new form passing the remote IP to that, and the new form sends a message back with its own Local IP


Option 2 is the better 1 i think. but I ahve a few questions with that.

How can I check that a port on my Computer is not already taken by another program?

What happens if heaven forbid two people try to start a conversation with me at the same time? just to check it wont crash down :)

ty in advance :)
 
thats not really multi form, the question started out differently, but I came up with that second Idea halfway thru :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top