|
-
Jan 1st, 2008, 11:21 PM
#1
Thread Starter
Lively Member
Two winsock connections??
Ive buillt an app which establishes 2 winsock connections simultaneously. The IP for both sockets is the same, but ports are different.
Code:
With Winsock1
.RemoteHost = "255.255.255.255"
.RemotePort = 1002
.Bind 1001
End With
With Winsock2
.RemoteHost = "255.255.255.255"
.RemotePort = 1004
.Bind 1003
End With
I receive a data stream on both the IPs, which I then parse and display in my application. The data coming in is received by Databyarrival method. It works fine for the most part. However, there are certain instances, where one of the broadcasts freezes up, while the other is still running.
Any idea why one broadcast may freeze up randomly, and what can be done to avoid this?
-
Jan 2nd, 2008, 06:27 AM
#2
Re: Two winsock connections??
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
|