WINSOCK: ERR- Address in use 
Author Message
 WINSOCK: ERR- Address in use

Win98/95)  
When i try to re-connect winsock controls withing 4 minutes after
reconnection it fails with error 10037 i think (address in use). i did
some research and found
setsockopt() from wsock32.dll
   is there any other, GOOD way of overcoming this problem with/out
using setsockopt and without offsetting ports after each reconnection.
Thanks.


Sat, 29 Jun 2002 03:00:00 GMT  
 WINSOCK: ERR- Address in use
Set the localport property to zero before connecting.


Quote:
> Win98/95)
> When i try to re-connect winsock controls withing 4 minutes after
> reconnection it fails with error 10037 i think (address in use). i did
> some research and found
> setsockopt() from wsock32.dll
>    is there any other, GOOD way of overcoming this problem with/out
> using setsockopt and without offsetting ports after each reconnection.
> Thanks.



Fri, 19 Jul 2002 03:00:00 GMT  
 WINSOCK: ERR- Address in use
Hi!

Make sure, that your server/client does not bind the port.
Before reconnecting, the client has to close the port.
Hope that helps.

Regards

Kristof

Quote:
-----Original Message-----

Posted At: Tuesday, February 01, 2000 3:05 AM
Posted To: networks
Conversation: WINSOCK: ERR- Address in use
Subject: Re: WINSOCK: ERR- Address in use

Set the localport property to zero before connecting.



> Win98/95)
> When i try to re-connect winsock controls withing 4 minutes after
> reconnection it fails with error 10037 i think (address in use). i did
> some research and found
> setsockopt() from wsock32.dll
>    is there any other, GOOD way of overcoming this problem with/out
> using setsockopt and without offsetting ports after each reconnection.
> Thanks.



Sat, 20 Jul 2002 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Winsock Control--- ERR: Address in use

2. Problems finding correct IP address using WINSOCK Control with 2 network adapters

3. Accessing the IP address of multiple network adapters using the MS Winsock Control

4. Accessinf the IP address of multiple network adapters using the MS Winsock Control

5. Problems finding correct IP address using WINSOCK Control with 2 network adapters

6. Accessing the IP address of multiple network adapters using the MS Winsock Control

7. Accessinf the IP address of multiple network adapters using the MS Winsock Control

8. Accessing the IP address of multiple network adapters using the MS Winsock Control

9. Accessinf the IP address of multiple network adapters using the MS Winsock Control

10. Using Winsock for IP addresses..

11. Accessing the IP address of multiple network adapters using the MS Winsock Control

12. Accessinf the IP address of multiple network adapters using the MS Winsock Control

 

 
Powered by phpBB® Forum Software