PDA

Click to See Complete Forum and Search --> : Winsock API & events


thinh
Jun 12th, 2000, 12:15 PM
How do i know if the socket is connect after i've used the connect Lib "Winsock.dll" (ByVal s As Integer, addr As sockaddr, ByVal namelen As Integer) As Integer Fucntion?

Do i need to set up a timer and use the WSAAsyncSelect Lib "Winsock.dll" (ByVal s As Integer, ByVal hwnd As Integer, ByVal wMsg As Integer, ByVal lEvent As Long) As Integer Function to get the events in each interval?

If anybody Knows how to use the winsock.bas file, if you could, please send me an example of how to connect, receive, and get events using the bas file...


Thank you very much

omarswan
Jun 15th, 2000, 10:36 AM
Hi,
I found some examples on the internet that
uses Winsock.dll. If you want them, you can
send me an email.

Note : None of the programs are mines.

:) Bye :)