|
-
Nov 13th, 2000, 12:51 PM
#1
Thread Starter
Lively Member
Hey All,
I'm a semi-TCP/IP newbie and I've been trying to write a TCP/IP based chat server in VB using the WinSock control.
I started my project based on the short tutorial on WinSock here on VB-World. I guess
all it really is a TCP/IP connection manager. Listen for connection requests, allocate
another winsock control, set it to 'listen', ad infinitum.
The chat clients passes as part of the data stream which user it wants to send data to.
So i just parse that off, perform a look up of which winsock relates to that user and
then send the data.
The problem is after I allocate a couple connections, only the latest connection allocated
will recieve messages. None of the previous connections will recieve data.
Can the TCP/IP in VB only listen to 1 connection at a time? Any ideas why only the latest
connection will recieve data?
Sorry I dont have any code to post at the moment, I'm at work 
Is what I'm trying to do even possible in VB?
Thanks for any ideas...
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
|