|
-
May 4th, 2001, 03:57 AM
#1
Error trapping
Trying to connect between 2 winsock controls and the connectionrequest event isn't even firing. Here is some error trapping I did, don't know if this will help but when I trap the sckError this is the results of my query.....
[Client]
wsC.State= 9 - sckError
wsC.RemoteHost= 192.168.1.102
wsC.RemotePort= 3030 - assigned
wsC.LocalPort= 2693 - random
[Server]
wsS(FirstFreeSocket).State= 2 - listening
wsS(FirstFreeSocket).RemoteHost=
wsS(FirstFreeSocket).RemotePort= 0
wsS(FirstFreeSocket).LocalPort= 3030 -assigned
-
May 4th, 2001, 06:34 PM
#2
Re: Error trapping
Missing codes? Can't see any error traping code in here. Anyway, for your Client winsock, set the .LocalPort to 0 instead of a number. 0 means let system assign one.
-Cool Bizs
Good Luck,
-Cool Bizs
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
|