VB5 (UDP prob) converting IP to hostname and vice versa 
Author Message
 VB5 (UDP prob) converting IP to hostname and vice versa

i am using a WinSock control to code a simple UDP client, i can set the
WinSock's RemoteHost to an IP address and it works fine however if i set
RemoteHost to a hostname, and i try to send data using the SendData method
the app hangs and then finally gives an error.
also using UDP is it possible to detect errors if for instance the IP
address is not found, or if a timeout occurs.
i have used the Winsock error event but it never seems to occur regardless
of whether the IP and port are valid.

Thanks for your help



Fri, 22 Jun 2001 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Converting seconds to minutes and vice versa

2. Converting character to byte and vice versa

3. How to Convert GMT(Greenwich) Time to short date and time and vice versa

4. Converting Binary to Long and vice versa

5. HELP: How to convert a byte array into a string, and vice versa

6. Converting LFN to short, and vice-versa

7. Converting RTF files to HTML in VB and vice versa

8. Convert float/integer values to binary and vice versa

9. Excel columns: Converting numbers to letters and vice versa

10. convert float/integer to binary and vice versa

11. ListBox.Items to String and vice versa

12. Byte Array to String and Vice Versa?

 

 
Powered by phpBB® Forum Software