Apis plz.

Iniciado por n3ts4mura1, 17 Agosto 2006, 20:00 PM

0 Miembros y 1 Visitante están viendo este tema.

n3ts4mura1

closesocket,
connect,
gethostbyaddr,
gethostbyname,
gethostname,
getsockopt,
htons,
recv,
send,
setsockopt,
socket,
WSSAsyncselect,
WSACancelBlockingCall,
WSACleanup,
WSIGetlasterror,
WSAisblocking y
WSAStartup.

esas son las que necesito para reemplazar el MSWINSCK.OCX
pero nose como buscarlas las busque con el viser de apis pero nada alguien sabe?.

n3ts4mura1

Bueno encontre estas:

Declare Function closesocket Lib "ws2_32" (ByVal sck As Long) As Long
Declare Function Connect Lib "ws2_32" (ByVal sck As Long, ByVal SckName As String, ByVal namelen As Long) As Long
Declare Function gethostbyaddr Lib "ws2_32" (ByVal addr As String, ByVal iaddrlen As Long, ByVal iaddrtype As Long) As HOSTENT
Declare Function gethostbyname Lib "ws2_32" (ByVal hostname As String) As Long
Declare Function gethostname Lib "ws2_32" (ByVal name As String, ByVal namelen As Long) As Long
Declare Function getsockopt Lib "ws2_32" (ByVal sck As Long, ByVal level As Long, ByVal optname As Long, ByVal optval As Long, optlen As Long) As Long
Declare Function htons Lib "ws2_32" (ByVal hostshort As Integer) As Integer
Declare Function recv Lib "ws2_32" (ByVal s As Long, ByVal buf As String, ByVal BufLen As Integer, ByVal flags As Integer) As Integer
Declare Function send Lib "ws2_32" (ByVal s As Long, ByVal buf As Long, ByVal BufLen As Integer, ByVal flags As Integer) As Integer
Declare Function setsockopt Lib "ws2_32" (ByVal s As Long, ByVal level As Integer, ByVal optname As Integer, ByVal optval As Long, ByVal optlen As Long) As Integer
Declare Function socket Lib "ws2_32" (ByVal iAddressFamily As Long, ByVal iType As Long, ByVal iProtocol As Long) As Long
WSSAsyncselect
Declare Function WSACleanup Lib "ws2_32" () As Integer
Declare Function WSAStartup Lib "ws2_32" (ByVal wVersionRequired As Long, lpWSAData As WSADATA) As Long


pero todavia me faltan =(

yofoxD

no se si te abras fijado pero al principio del subforo de visual basic hay un post con chincheta que dice Api de winsock para VB (Completa) pero aqui te pongo el link por si acaso:

http://foro.elhacker.net/index.php/topic,62753.0.html

n3ts4mura1

de hay las saque pero bueno = gracias

Zeroql

por que no usas Apiviewer es buenisimo.
Dime y lo olvido, enseñame y lo recuerdo, involucrame y lo aprendo.
/.-ZEROQL.-\   -----  #937675#