[VB] probleme de socket

probleme de socket [VB] - Programmation

Marsh Posté le 22-01-2002 à 15:33:35    

bonjour,
quand j'utilise le code suivant le programe ce bloque
 
    Public Declare Function recv Lib "wsock32.dll" (ByVal s As Long, ByVal buf As Any, ByVal buflen As Long, ByVal flags As Long) As Long
 
    Do
        Bytes = recv(Sock, ByVal MsgBuffer, 20, 0)
        HostResponse = HostResponse + Left$(MsgBuffer, Bytes)
    Loop While Bytes > 0
 
Est-ce que quelqu'un sait pourquoi?
 
merci

Reply

Marsh Posté le 22-01-2002 à 15:33:35   

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed