Multiuser chat
Multiuser chat
Multiuser chat
Multiuser chat
Multiuser chat
Multiuser chat Multiuser chat Multiuser chat Multiuser chat Multiuser chat Multiuser chat Multiuser chat Multiuser chat
Multiuser chat Multiuser chat
Multiuser chat
Go Back  Xtreme Visual Basic Talk > > > Multiuser chat


Reply
 
Thread Tools Display Modes
  #1  
Old 03-05-2003, 10:37 AM
Squidge Squidge is offline
Restricted
 
Join Date: Mar 2003
Location: Manchester! England!
Posts: 872
Default Multiuser chat


ok i am fairly new to winsock so bare with me!

ok i made a 1 on 1 chat everything was great now i am expanding it to multiusers

Code:
Public Sub SendOnArray(ByVal Data As String) Dim i As Integer ' loop through array, sending on each socket For i = 0 To Winsock.Count - 1 ' make sure we're connected If Winsock(i).State = sckConnected Then Winsock(i).SendData Data DoEvents End If Next i End Sub
thats the sending data info i got on www.winsockvb.com and i dont understand say i am sending the info in text1.text how do i do that??

also do i need to adjust the clients when upgrading to multi chat??

thanks

ps - a worked exaple would be FANTASTIC (not to complecated ) just nice simple straight forward progect would be great thanks again guys!!!
Reply With Quote
  #2  
Old 03-05-2003, 01:06 PM
ThinkerMultiuser chat Thinker is offline
Iron-Fisted Programmer

Retired Moderator
* Guru *
 
Join Date: Jul 2001
Location: Fayetteville Arkansas USA
Posts: 18,127
Default

Quote:
ok i am fairly new to winsock so bare with me!
You can get naked if you want, but I have no intention of doing it with
you.

Call this function with
SendOnArray Text1.Text
__________________
Posting Guidelines
Reply With Quote
  #3  
Old 03-06-2003, 11:00 AM
Isaac's Avatar
Isaac Isaac is offline
Regular
 
Join Date: Mar 2002
Location: UK
Posts: 71
Default

Attached is a multiple user winsock control that I've had and used for a long time, it works a dream, its robust and I've written several multi-user chat programs with it, and **started** making god knows how many games.

Enjoy
Attached Files
File Type: zip sckarray.zip (5.7 KB, 36 views)
__________________
Isaac
Crasis' Guitarist
http://www.crasis.tk/
Reply With Quote
  #4  
Old 07-26-2012, 11:32 AM
VictoryAndGlory VictoryAndGlory is offline
Newcomer
 
Join Date: Jul 2012
Posts: 1
Default

Stupid isaac!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Chat help xtrementl Communications 3 05-12-2002 09:17 AM
Chat Program Server taj134 General 0 06-19-2001 07:31 AM
Chat ahs General 1 05-14-2001 12:58 AM
Chat room with Voice How ? visualbasic700e General 0 01-07-2001 05:27 PM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Multiuser chat
Multiuser chat
Multiuser chat Multiuser chat
Multiuser chat
Multiuser chat
Multiuser chat Multiuser chat Multiuser chat Multiuser chat Multiuser chat Multiuser chat Multiuser chat
Multiuser chat
Multiuser chat
 
Multiuser chat
Multiuser chat
 
-->